Game4all commited on
Commit
71f836f
·
1 Parent(s): b9103a6
Files changed (1) hide show
  1. serp/bing.py +2 -0
serp/bing.py CHANGED
@@ -1,4 +1,5 @@
1
  from asyncio import Semaphore
 
2
  from urllib.parse import quote_plus
3
  from serp.base import PlaywrightSerpBackendBase, SerpQuery, SerpResultItem, playwright_open_page
4
 
@@ -25,6 +26,7 @@ class BingSerpBackend(PlaywrightSerpBackendBase):
25
  await page.route("**/*", _block_resources)
26
 
27
  url = f"https://www.bing.com/search?q={quote_plus(query.query)}"
 
28
  await page.goto(url)
29
 
30
  await page.wait_for_selector("li.b_algo")
 
1
  from asyncio import Semaphore
2
+ import logging
3
  from urllib.parse import quote_plus
4
  from serp.base import PlaywrightSerpBackendBase, SerpQuery, SerpResultItem, playwright_open_page
5
 
 
26
  await page.route("**/*", _block_resources)
27
 
28
  url = f"https://www.bing.com/search?q={quote_plus(query.query)}"
29
+ logging.info(url)
30
  await page.goto(url)
31
 
32
  await page.wait_for_selector("li.b_algo")