ksvmuralidhar commited on
Commit
6cd4a90
1 Parent(s): e5e59f1

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -69,7 +69,7 @@ async def scrape_urls(urls):
69
 
70
  results = []
71
  for url in urls:
72
- f = pool.apply_async(await scrape_text, [url]) # asynchronously applying function to chunk. Each worker parallely begins to work on the job
73
  results.append(f) # appending result to results
74
 
75
  scraped_texts = []
 
69
 
70
  results = []
71
  for url in urls:
72
+ f = pool.apply_async(scrape_text, [url]) # asynchronously applying function to chunk. Each worker parallely begins to work on the job
73
  results.append(f) # appending result to results
74
 
75
  scraped_texts = []