[BUG] InvalidSchema Error when Fetching URLs in getSoup and NoneType Error When Parsing HTML in getReviewText #312
Labels
bug
Something isn't working
good new issue
gssoc
gssoc-ext
hacktoberfest
hacktoberfest-accepted
level1
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.
Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist
The text was updated successfully, but these errors were encountered: