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

On getting all videos from a single channel #25322

Closed
TehPsychedelic opened this issue May 19, 2020 · 2 comments
Closed

On getting all videos from a single channel #25322

TehPsychedelic opened this issue May 19, 2020 · 2 comments
Labels

Comments

@TehPsychedelic
Copy link

@TehPsychedelic TehPsychedelic commented May 19, 2020

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

Hello, I think my question is a bit more on the technical side of things that really any issue that I'm having.
I'm aware by looking at some other issues on the tracker that it is possible to download all videos from a given channel.
My question is, how does youtube-dl manage to achieve this challenge? Isn't the youtube API token/call limited so it would make it impossible with how many users, using the same API key downloading at the same time?
So I guess youtube-dl doesn't use the API after all, what does it use then? Does it parse "uploaded videos" playlist manually as one would do in a browser?

I would just like to know the technical background on how this is performed, please.

Thanks

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 19, 2020

I guess youtube-dl doesn't use the API after all, what does it use then?

Yes.

Does it parse "uploaded videos" playlist manually as one would do in a browser?

Yes.

I would just like to know the technical background on how this is performed, please.

What concretely?

@dstftw dstftw closed this May 19, 2020
@TehPsychedelic
Copy link
Author

@TehPsychedelic TehPsychedelic commented May 19, 2020

Thank you @dstftw
One last thing is this where it performs "the magic" (aka where it manually parses the uploaded videos playlist)

def extract_videos_from_page_impl(self, video_re, page, ids_in_page, titles_in_page):

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.