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

[BUG] InvalidSchema Error when Fetching URLs in getSoup and NoneType Error When Parsing HTML in getReviewText #312

Closed
5 tasks done
shristirwt opened this issue Nov 3, 2024 · 3 comments · Fixed by #313

Comments

@shristirwt
Copy link
Member

Description

When running the code, the InvalidSchema error occurs in the getSoup function while trying to fetch URLs for IMDb movie reviews. This error suggests that some URLs may not be formatted correctly or are being generated as HTML content instead of valid URLs.

The getReviewText function may encounter an AttributeError if the movie_soup object is None or does not contain the expected HTML structure (e.g., no review text div). This can happen if getSoup returns None due to a failed request or an invalid URL.
Screenshot 2024-11-03 192018

Screenshots

No response

Any additional information?

No response

What browser are you seeing the problem on?

No response

Checklist

  • I have checked the existing issues
  • I have read the Contributing Guidelines
  • I'm a GSSoC'24-Extd contributor
  • I'm a Hacktoberfest'24 contributor
  • I am willing to work on this issue (optional)
@shristirwt shristirwt added the bug Something isn't working label Nov 3, 2024
Copy link

github-actions bot commented Nov 3, 2024

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Copy link

github-actions bot commented Nov 3, 2024

Thank you for raising a issue, Hope you enjoing the open source. we try to reply or assign as soon possibe. Connect with mentor.

Copy link

github-actions bot commented Nov 4, 2024

Hello @shristirwt! Your issue #312 has been closed. Thank you for your contribution!

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