Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async def main():
- url = "https://scrapeme.live/shop/"
- # Time Tracking: Start Time
- start_time = time.time()
- # Fetching content asynchronously
- content = await fetch(url)
- # Printing content
- print(content)
- # Time Tracking: End Time
- end_time = time.time()
- # Calculating and printing the time taken
- print(f"Time taken: {end_time - start_time} seconds")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement