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

Udemy - Not organising by chapter when run in batch script #17537

Closed
CUD opened this issue Sep 11, 2018 · 1 comment
Closed

Udemy - Not organising by chapter when run in batch script #17537

CUD opened this issue Sep 11, 2018 · 1 comment
Labels

Comments

@CUD
Copy link

@CUD CUD commented Sep 11, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is

  • I've verified and I assure that I'm running youtube-dl 2018.09.10

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

Description of your issue, suggested solution and other information

So I have a batch script that just prompts for the URL by using the 'set' command, setting the URL to %videoURL% so the command that the script ends up calling is:

youtube-dl --cookies ./udemy-cookies.txt -o "%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s" %videoURL%

The problem is that when I paste in the URL when prompted it creates a file named "(chapter_number)s - (playlist_index)s. (ext)s" instead of saving the videos in folders. However, the script works fine if I paste the same command replacing the %videoURL% with the actual URL to the Udemy course.

Any idea why this may be the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.