Update core/scraper.py
Browse files- core/scraper.py +0 -1
core/scraper.py
CHANGED
|
@@ -21,7 +21,6 @@ class HotelScraper:
|
|
| 21 |
async with aiohttp.ClientSession() as session:
|
| 22 |
tasks = []
|
| 23 |
for query in hotel_queries:
|
| 24 |
-
await asyncio.sleep(random.uniform(4, 8))
|
| 25 |
task = self.booking_service.search_hotel(
|
| 26 |
session=session,
|
| 27 |
destination=query.destination,
|
|
|
|
| 21 |
async with aiohttp.ClientSession() as session:
|
| 22 |
tasks = []
|
| 23 |
for query in hotel_queries:
|
|
|
|
| 24 |
task = self.booking_service.search_hotel(
|
| 25 |
session=session,
|
| 26 |
destination=query.destination,
|