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

Failure to ignore Deleted comments. #11

Open
ThijnvanSummeren opened this issue Jun 3, 2022 · 0 comments
Open

Failure to ignore Deleted comments. #11

ThijnvanSummeren opened this issue Jun 3, 2022 · 0 comments

Comments

@ThijnvanSummeren
Copy link

Hi @edde746, thanks for this amazing project.
It has been running well, however i ran into a problem.
The line
try: comments[i].find_element_by_css_selector(".icon.icon-lock_fill")
in scraper.py (line 46) filters out locked comments, however there's no filter for deleted comments.
Deleted comments will result in an 0kb audio file which causes MoviePy to error.
I've tried fixing this problem by adding the line:
comments[i].find_element_by_css_selector('Comment deleted by user').text
however i've had no luck doing so, could you look into this?

Thanks!

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

No branches or pull requests

1 participant