A feature-rich command-line audio/video downloader
[pornhub:playlist] Allow alphanumeric viewkeys (Closes #7695)
Sergey M․d53a4af1a494
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.pyindex 965940a4b0..08275687dd 100644--- a/youtube_dl/extractor/pornhub.py+++ b/youtube_dl/extractor/pornhub.py@@ -147,7 +147,8 @@ class PornHubPlaylistIE(InfoExtractor):entries = [self.url_result('http://www.pornhub.com/%s' % video_url, 'PornHub')- for video_url in set(re.findall('href="/?(view_video\.php\?viewkey=\d+[^"]*)"', webpage))+ for video_url in set(re.findall(+ r'href="/?(view_video\.php\?.*\bviewkey=[\da-z]+[^"]*)"', webpage))]playlist = self._parse_json(