The new version 3.10 failed to crawl the app version on Google Play.
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- JavaScript
- スター
- 952
- フォーク
- 183
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HtmlUnit/htmlunit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
HtmlUnit/htmlunit の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4115 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
outline/outline#14348 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
area:install bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信