Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Syntax error in main.py, line 60 #1

Open
newanalyzer opened this issue Aug 31, 2023 · 4 comments
Open

Syntax error in main.py, line 60 #1

newanalyzer opened this issue Aug 31, 2023 · 4 comments

Comments

@newanalyzer
Copy link

When I run the script I get this:

File "main.py", line 60
async def download_video(session, url, folder_path, semaphore, username):
^
SyntaxError: invalid syntax

What am I missing? Can anyone help? Thanks in advance

@newanalyzer
Copy link
Author

Never mind, got it working

@kernelwernel
Copy link

Never mind, got it working

how did you fix it?

@newanalyzer
Copy link
Author

Unfortunately I don't remember at this point

@ne0lith ne0lith reopened this Sep 26, 2023
@ne0lith
Copy link
Owner

ne0lith commented Sep 26, 2023

Try again with max_concurrent_downloads set to 1, and try setting a root_path as well. I've only had this issue crop up twice, and am unsure as to the source.

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

No branches or pull requests

3 participants