The new version 3.10 failed to crawl the app version on Google Play.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the provided Java reproduction using HtmlUnit’s WebClient against the Google Play app page; compare the behavior with version 2.40.0 and inspect how the page handles the “See more information on About this app” click. The reported failure is that the popup’s Version content is absent after the click; done means the reproduction can obtain that content again. The issue has had no comment for months, so check whether work is still wanted before starting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
My requirement is to crawl https://play.google.com/store/apps/details?hl=en&id=com.kubi.kucoin, and then simulate clicking the button "See more information on About this app" on the page to get a pop-up Version inside the box. The old version 2.40.0 can run successfully. After upgrading to , the Version cannot be obtained. Tracking found that the pop-up box div after clicking the button "See more information on About this app" is not returned.
code is here:
WebClient webClient = new WebClient(BrowserVersion.CHROME);
webClient.setAjaxController(new NicelyResynchronizingAjaxController());
webClient.setJavaScriptTimeout(10000);
webClient.setJavaScriptErrorListener(new SilentJavaScriptErrorListener());
WebClientOptions options = webClient.getOptions();
options.setCssEnabled(false);
options.setUseInsecureSSL(true);
options.setJavaScriptEnabled(true);
options.setThrowExceptionOnScriptError(false);
options.setWebSocketEnabled(false);
options.setTimeout(5000);
HtmlPage page = webClient.getPage("https://play.google.com/store/apps/details?hl=en&id=com.kubi.kucoin");
webClient.waitForBackgroundJavaScript(5000);
webClient.waitForBackgroundJavaScriptStartingBefore(5000);
String jsCode = "document.getElementsByClassName('VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ QDwDD mN1ivc VxpoF')[0].click();";
page.executeJavaScript(jsCode);
webClient.waitForBackgroundJavaScript(10000);
Document document = Jsoup.parse(page.asXml());
Element element = document.selectFirst("div:matchesOwn(Version) + div");
System.out.println(element.ownText());
element is null
- Lingua principale
- JavaScript
- Stelle
- 952
- Fork
- 183
- Merge medio
- 2g 1h
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di HtmlUnit/htmlunit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di HtmlUnit/htmlunit
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
open-webui/open-webui#33196 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
area: apple-music area: build-release bug effort: small priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ChristianTabor/Argon#32 ·
I maintainer di solito rispondono entro 1 giorno
-
0️⃣ phase/new
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100