問題タブ [apify]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
puppeteer - apifyのpage.on関数でのレスポンスとは?
関数には何がresponse
ありpage.on
ますか?
「https://github.com/vdrmota/actor-twitter-scraper/blob/master/src/scraper.jsresponse.url
」の 17 行目の例では、 includes が含まれていることを確認します"/timeline/profile/"
。
page.url()
ですhttps://twitter.com/${handle}/with_replies
。_ では、URL に が含まれている 17 行目を確認する必要はあり"/timeline/profile/"
ません。
apify - Apifyでのクロール速度を上げるには?
Apify を使用していますが、クロールの速度がひどいです。物件リストの約 12,500 ページを確認する必要があります。
開始ページ: https://www.sreality.cz/hledani/prodej/byty?strana=1
リンクセレクター: a[href]
疑似 URL: https://www.sreality.cz/detail/prodej/byt/[.+]/[.+]/[.+] https://www.sreality.cz/hledani/prodej/byty?ストラナ=[.+]
1枚目はマンションの詳細 2枚目は次のページ
マイページ機能:
非同期関数 pageFunction(context) {
}
現在、私は名前をこすり落としているだけです。まずはスピードを解決したい。
回答ありがとうございます:)