Skip to content

Commit

Permalink
[rts] Improve _VALID_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Dec 2, 2014
1 parent ac56335 commit c492970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/rts.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class RTSIE(InfoExtractor):
IE_DESC = 'RTS.ch'
_VALID_URL = r'^https?://(?:www\.)?rts\.ch/(?:(?:[^/]+/){2,}(?P<id>[0-9]+)-(?P<display_id>.+?)\.html|play/tv/[^/]+/video/(?P<display_id_new>.+?)\?id=(?P<id_new>[0-9]+))'
_VALID_URL = r'https?://(?:www\.)?rts\.ch/(?:(?:[^/]+/){2,}(?P<id>[0-9]+)-(?P<display_id>.+?)\.html|play/tv/[^/]+/video/(?P<display_id_new>.+?)\?id=(?P<id_new>[0-9]+))'

_TESTS = [
{
Expand Down

0 comments on commit c492970

Please sign in to comment.