mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-01 19:25:35 +08:00
Update xhamster.py
Movie and Video id can also contain characters [a-zA-Z] change \d+ on line 28 and 29 to \w+
This commit is contained in:
parent
e942cfd1a7
commit
c009da0e40
@ -25,8 +25,8 @@ class XHamsterIE(InfoExtractor):
|
||||
https?://
|
||||
(?:.+?\.)?%s/
|
||||
(?:
|
||||
movies/(?P<id>\d+)/(?P<display_id>[^/]*)\.html|
|
||||
videos/(?P<display_id_2>[^/]*)-(?P<id_2>\d+)
|
||||
movies/(?P<id>\w+)/(?P<display_id>[^/]*)\.html|
|
||||
videos/(?P<display_id_2>[^/]*)-(?P<id_2>\w+)
|
||||
)
|
||||
''' % _DOMAINS
|
||||
_TESTS = [{
|
||||
|
Loading…
Reference in New Issue
Block a user