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

Youtube OPML subscription list support #12353

Open
splendid25 opened this issue Mar 4, 2017 · 3 comments
Open

Youtube OPML subscription list support #12353

splendid25 opened this issue Mar 4, 2017 · 3 comments
Labels

Comments

@splendid25
Copy link

@splendid25 splendid25 commented Mar 4, 2017

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

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

Is it possible to support an OPML file downloaded manually from Youtube ?

https://www.youtube.com/subscription_manager?action_takeout=1
I would like to download the subscription list manually, and use the OPML as an input in youtube-dl, to avoid the use of argument --netrc and having to save/update my credentials in a netrc file.

Thanks

@yan12125 yan12125 added the request label Mar 4, 2017
@TomasHubelbauer
Copy link

@TomasHubelbauer TomasHubelbauer commented Jul 12, 2017

This feature request has been open for quite some time without a reaction from the development team. Would it be possible for someone familiar with the project to write a comment with rough description of what changes in what places need to happen to support this so the community can try and pick this up? I personally would like to try, but I also know I am pretty much guaranteed to fail because I don't have enough Python experience; that being said, if this is deemed a simple enough change by the development team, it would be a good candidate for community contribution.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 12, 2017

It will be a big change. First various RSS parsing implementations, possibly including Yahoo's MRSS, should be converged first, and them OPML can reuse it.
After that, an OPML parsing function, which may be similar to read_batch_urls should be implemented and then called from __init__.py

@siddht4
Copy link

@siddht4 siddht4 commented Jul 12, 2017

@yan12125 was working on a similar project which uses xml as a subtitle.Have done intensive test and it worked.As opml is a subset of xml I can try with these condition too. read_batch_url is really extensive as I recently discussed with you,For @TomasHubelbauer https://github.com/rg3/youtube-dl/blob/master/youtube_dl/utils.py#L2047 is the part we are talking about. The new extractor or web crawler whatever it becomes needs to be imported from the file/function/program as from sys import platform for refernce.Scripts within local reach can be modified as "from .a import aa".__init__.py needs to have everything as scripts calling from outside can acces these functions via __init__.py. In python __init__.py acts like a jump gate or portal. example : if __name__ == '__main__' and __package__ is None: from os import sys, path sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) import aa

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