We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b8618 commit c0fb83cCopy full SHA for c0fb83c
bing-scraper/bing.py
@@ -19,6 +19,10 @@
19
# set the poxy location to US to get the result in English
20
"country": "GB",
21
"proxy_pool": "public_residential_pool",
22
+ "debug":True,
23
+ "os":"linux",
24
+ "auto_scroll":True,
25
+
26
}
27
28
@@ -130,7 +134,6 @@ async def scrape_search(query: str, max_pages: int = None):
130
134
async def scrape_keywords(query: str):
131
135
"""scrape bing search pages for keyword data"""
132
136
url = f"https://www.bing.com/search?{urlencode({'q': query})}"
133
- print(f"url:{url}")
137
log.info("scraping Bing search for keyword data")
138
response = await SCRAPFLY.async_scrape(ScrapeConfig(url, **BASE_CONFIG, render_js=True))
139
keyword_data = parse_keywords(response)
0 commit comments