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

share video search API / extractors ? #5387

Closed
xantares opened this issue Apr 9, 2015 · 3 comments
Closed

share video search API / extractors ? #5387

xantares opened this issue Apr 9, 2015 · 3 comments

Comments

@xantares
Copy link
Contributor

@xantares xantares commented Apr 9, 2015

I'm developing a small python gui using ydl to browse videos: https://github.com/xantares/maxitube and I've implemented some kind of video search lib based on ydl (by keywords) for a few sites (you can also list the videos on the homepage of a site).

There seem to be some kind of video search api:
https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/common.py#L1104

Maybe this search API could be part of youtube-dl extractors in some way ? thoughts ?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 9, 2015

We already have a youtube search extractor.

@xantares
Copy link
Contributor Author

@xantares xantares commented Apr 9, 2015

Ok, and yahoo, I see.
Is this as slow as ydl ? Currently, my extractors return a list of dicts containing the url, title and thumbnail of the vid without querying ydl for these attributes for the gui to be as responsive as possible when displaying results.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 9, 2015

I have no idea how fast or slow youtube-dl is in comparison with your extractors. You can look through the code and measure yourself. In any case, feel free to create a PR if you have something to add to youtube-dl.

@dstftw dstftw closed this Apr 9, 2015
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.