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

avoid downloading videos for data-mining purposes #22024

Closed
mathematicalmichael opened this issue Aug 6, 2019 · 1 comment
Closed

avoid downloading videos for data-mining purposes #22024

mathematicalmichael opened this issue Aug 6, 2019 · 1 comment
Labels

Comments

@mathematicalmichael
Copy link

@mathematicalmichael mathematicalmichael commented Aug 6, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

It seems like youtube-dl is a great tool for the following task:

  • given a channel name,
  • find all videos and playlists
  • compile them into a list of hyperlinks

for use-cases such as mine (where I do not need to download the videos but do need the hyperlinks) in order to scrape data from each video (description/likes/length, etc).

My question is, how can this be accomplished (the avoiding downloads part)? Is there already some sort of syntax pattern to accomplish this? I could not find such a thing in the documentation, and trying to parse data using tools like BeautifulSoup for python only grab the first 100 videos per playlist.

I have found syntax in youtube-dl to grab all videos from a channel, but again, I don't want to download them, just save the hyperlinks to a file.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 6, 2019

Have you even read FAQ?

--skip-download                  Do not download the video
@dstftw dstftw closed this Aug 6, 2019
@ytdl-org ytdl-org locked and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.