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 dddaba4 commit 3780f9eCopy full SHA for 3780f9e
src/04-asyncio/web_scraping/async_scrape/program.py
@@ -57,7 +57,7 @@ async def get_title_range():
57
# Please keep this range pretty small to not DDoS my site. ;)
58
59
tasks = []
60
- for n in range(150, 160):
+ for n in range(375, 385):
61
tasks.append((n, loop.create_task(get_html(n))))
62
63
for n, t in tasks:
src/04-asyncio/web_scraping/sync_scrape/program.py
@@ -34,7 +34,7 @@ def main():
34
35
def get_title_range():
36
37
38
html = get_html(n)
39
title = get_title(html, n)
40
print(Fore.WHITE + f"Title found: {title}", flush=True)
0 commit comments