Advertisement
dereksir

Untitled

Nov 23rd, 2023 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. async def main():
  2.     # Initialize a list of URLs
  3.     urls = ["https://scrapeme.live/shop/", "https://scrapeme.live/shop/page/2/", "https://scrapeme.live/shop/page/3/"]
  4.  
  5.     # Time Tracking: Start Time
  6.     start_time = time.time()
  7.  
  8.     # Create an AIOHTTP session
  9.     async with aiohttp.ClientSession() as session:
  10.  
  11.         # Initialize tasks list
  12.         tasks = []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement