Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

News-scrapper updation #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yashwanth-79
Copy link

  • Migrated from NewsPlease to Goose3 to eliminate dependency conflicts and the CACHE_DIRECTORY error associated with older newspaper3k versions.

  • Replaced NewsPlease with Goose3 for more reliable and robust article content extraction, including better handling of edge cases and website variations.

  • Robust Error Handling: Implemented comprehensive error handling within the getNews function and URL scraping logic to gracefully handle network issues and extraction failures.

  • Dependency Update: Updated requirements.txt to remove newsplease and add goose3, ensuring correct project dependencies and simplifying the installation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant