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

[nick] add support for nick austria and nicknight #10769

Closed
wants to merge 2 commits into from

Conversation

NeroBurner
Copy link
Contributor

@NeroBurner NeroBurner commented Sep 26, 2016

requirements

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

  • Improvement
  • New extractor

Description of your pull request and other information

This pull request adds two improvements

  • add nickelodeon.at (nick.de in Austria) as valid url for the NickDe Extractor
  • add nicknight (German and Austrian) extractor (needs a slightly different regex)


mrss_url = update_url_query(self._search_regex(
r'mrss: (["\'])(?P<url>http.+?)\1', webpage, 'mrss url', group='url'),
{'siteKey': 'nicknight.de'})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Web player does not send this query.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how can I check which query it sends?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Network connections in your browser.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find info on how to look what the web player sends in the browser. Is there an addon I need to install on chrome or Firefox? Or do I have to use wireshark and search the tcp-dump?

I've looked through the downloaded files with curl and I removed the update_url_query call

@NeroBurner
Copy link
Contributor Author

Please review the changes. Hope I got the Point

@NeroBurner
Copy link
Contributor Author

@dstftw could you pls review once more, I rebased the changes on current master

@dstftw dstftw closed this in f449c06 Nov 1, 2016
calbrecht referenced this pull request in calbrecht/youtube-dl Dec 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants