Skip to content

Commit

Permalink
scrape all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-ram authored and maany committed Apr 14, 2024
1 parent 88e23fc commit 8b9b492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def scrape(
scraped_data_repository.register_scraped_json(current_data, job_id, lfp )

last_successful_data = current_data
elif page >= 2:
else:
logger.error(f"{job_id}: Error: {response.status_code} - {response.text}")
logger.info("No more tweets found for this query. Scraping completed.")

Expand Down

0 comments on commit 8b9b492

Please sign in to comment.