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

[tou.tv] Problem in VALID_URL regex for special features episodes #14179

Closed
oxidius3 opened this issue Sep 12, 2017 · 2 comments
Closed

[tou.tv] Problem in VALID_URL regex for special features episodes #14179

oxidius3 opened this issue Sep 12, 2017 · 2 comments

Comments

@oxidius3
Copy link

@oxidius3 oxidius3 commented Sep 12, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.09.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

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

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the 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

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

In youtube_dl/extractor/toutv.py, line 17 indicates valid urls for tou.tv
_VALID_URL = r'https?://ici\.tou\.tv/(?P<id>[a-zA-Z0-9_-]+(?:/S[0-9]+E[0-9]+)?)'

Some series have special features or extras that do not fit the regex.
Here's an examples : https://ici.tou.tv/l-age-adulte/S01C501

I'm not sure if modifying the regex is the only thing to do.

Thank you.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 12, 2017

https://ici.tou.tv/l-age-adulte/S01C501 fits the regex just fine.

@dstftw dstftw closed this Sep 12, 2017
@dstftw dstftw added the invalid label Sep 12, 2017
@oxidius3
Copy link
Author

@oxidius3 oxidius3 commented Sep 12, 2017

Well specials episode to not download, they fallback on the first episode of the season, in this case both
https://ici.tou.tv/l-age-adulte/S01C501 and
https://ici.tou.tv/l-age-adulte/S01C502
Download https://ici.tou.tv/l-age-adulte/S01E01

I was under the impression it was becasue "S01C501" does not match the final group (?:/S[0-9]+E[0-9]+)?)

But it might be for another reason

@remitamine remitamine reopened this Sep 14, 2017
@remitamine remitamine removed the invalid label Sep 14, 2017
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
3 participants
You can’t perform that action at this time.