From c009da0e402fe042c575b01ffc77467fe87ade03 Mon Sep 17 00:00:00 2001 From: orthello <2169696+orthello@users.noreply.github.com> Date: Mon, 29 Jun 2020 17:28:58 +0200 Subject: [PATCH] Update xhamster.py Movie and Video id can also contain characters [a-zA-Z] change \d+ on line 28 and 29 to \w+ --- youtube_dl/extractor/xhamster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py index 0f7be6a7d..fa566a07a 100644 --- a/youtube_dl/extractor/xhamster.py +++ b/youtube_dl/extractor/xhamster.py @@ -25,8 +25,8 @@ class XHamsterIE(InfoExtractor): https?:// (?:.+?\.)?%s/ (?: - movies/(?P\d+)/(?P[^/]*)\.html| - videos/(?P[^/]*)-(?P\d+) + movies/(?P\w+)/(?P[^/]*)\.html| + videos/(?P[^/]*)-(?P\w+) ) ''' % _DOMAINS _TESTS = [{