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

Output playlist urls to a text file #2018

Open
xubuntu4iran opened this issue Dec 20, 2013 · 4 comments
Open

Output playlist urls to a text file #2018

xubuntu4iran opened this issue Dec 20, 2013 · 4 comments

Comments

@xubuntu4iran
Copy link

@xubuntu4iran xubuntu4iran commented Dec 20, 2013

An option to output playlist urls to a text file

http://www.youtube.com/watch?v=$id
http://www.youtube.com/watch?v=$id
.
.
.
@phihag
Copy link
Contributor

@phihag phihag commented Dec 20, 2013

I am not sure what this should be useful for. Without a description of the motivation for this request, I'm inclined to close it. You can already get the IDs of all videos that would be downloaded with --get-id. You can also use jq like this:

youtube-dl http://www.youtube.com/user/phihag -j | jq '@text "\(.webpage_url)"'
@xubuntu4iran
Copy link
Author

@xubuntu4iran xubuntu4iran commented Dec 20, 2013

I think in --get-id or -j option, program also download webpages, while thay can be extracted from playlist webpage, I want those urls in a text file because I don't want to redownload playlist webpage or I want to access urls in a simple text file.

@phihag
Copy link
Contributor

@phihag phihag commented Dec 20, 2013

Well, I'd rather optimize --get-id to not download individual webpages. Again, what do you need the list of URLs for?

@screen12345
Copy link

@screen12345 screen12345 commented Jan 23, 2014

The URL is useful when referring other people to the video, especially, when there are many videos with similar titles and content...

One way this could be done is to write the original URL to the top or bottom of the description file. This way, if I want to refer other people to the video in question, I could just look at the description file and send them the link.

(Also, please condider changing the default description-file extension to .txt, so that it can be opened directly without needing to create a new file association.)

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
3 participants
You can’t perform that action at this time.