1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-24 04:19:51 +08:00

Changed regex to exclusively include numbers and letters

This commit is contained in:
JChris246
2020-07-02 13:12:04 -04:00
Unverified
parent e9c12c6537
commit c300582cdb
+2 -2
View File
@@ -25,8 +25,8 @@ class XHamsterIE(InfoExtractor):
https?://
(?:.+?\.)?%s/
(?:
movies/(?P<id>\w+)/(?P<display_id>[^/]*)\.html|
videos/(?P<display_id_2>[^/]*)-(?P<id_2>\w+)
movies/(?P<id>[\dA-z]+)/(?P<display_id>[^/]*)\.html|
videos/(?P<display_id_2>[^/]*)-(?P<id_2>[\dA-z]+)
)
''' % _DOMAINS
_TESTS = [{