FallingLights / Teachable-dl

Course downloader for teachable platform written in python3 using selenium and yt-dlp
GNU Lesser General Public License v3.0
106 stars 27 forks source link

[BUG] #7

Closed r4v3r23 closed 1 year ago

r4v3r23 commented 1 year ago

getting "bash: syntax error near unexpected token `newline'" when running source env/bin/activate python3 main.py --url <course-url> --email <email> --password <password> (with all fields filled out)

FallingLights commented 1 year ago

That should be two different commands source env/bin/activate After you run this you should see (env) or something similar at the start of the line in your terminal (you all have to run this once per terminal session) then run: source env/bin/activate python3 main.py --url <course-url> --email <email> --password <password>

r4v3r23 commented 1 year ago

thats exactly what i did and still receive same error. i followed the instructions step by step

r4v3r23 commented 1 year ago

I removed the <> from each field and didnt get the error, but there is not progress bar or anything, is it downloading in background? where do i see the course videos?

FallingLights commented 1 year ago

I removed the <> from each field and didnt get the error, but there is not progress bar or anything, is it downloading in background? where do i see the course videos?

Proper progress bar is currently not available but you can see YouTube and what the script is currently doing in the terminal if you add -v when calling the script

r4v3r23 commented 1 year ago

I removed the <> from each field and didnt get the error, but there is not progress bar or anything, is it downloading in background? where do i see the course videos?

Proper progress bar is currently not available but you can see YouTube and what the script is currently doing in the terminal if you add -v when calling the script

added -v and still getting the same blank output. looks like its not downloading then.

my teachable course url is in this format: https://course-name.teachable.com/courses/enrolled/randomnumber

FallingLights commented 1 year ago

Can't reproduce the issues on my end