Adding requested changes

Changed regex from [\dA-z]+ to \w+
Updated movies id regex
This commit is contained in:
JChris246 2020-06-29 13:01:14 -04:00
parent ff13f279ce
commit e9c12c6537

View File

@ -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>[\dA-z]+)
movies/(?P<id>\w+)/(?P<display_id>[^/]*)\.html|
videos/(?P<display_id_2>[^/]*)-(?P<id_2>\w+)
)
''' % _DOMAINS
_TESTS = [{