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

filename error #21

Open
magiconline opened this issue Mar 21, 2023 · 0 comments
Open

filename error #21

magiconline opened this issue Mar 21, 2023 · 0 comments

Comments

@magiconline
Copy link

It seems multithreaded_download with mp4_file_dir and mp4_file_name will always genreate random filename.
I think its because line 110 in v2_abstract_crawler_processor.py is wrong?

if os.path.exists(mp4_file_path):
    mp4_file_name = path_helper.random_name()
    mp4_file_path = os.path.join(self.mp4_file_dir, mp4_file_name)

should changed to

if not os.path.exists(mp4_file_path):
    mp4_file_name = path_helper.random_name()
    mp4_file_path = os.path.join(self.mp4_file_dir, mp4_file_name)
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