From 88bf7eb9bb9cbb4a75d167e45471c00f6104e565 Mon Sep 17 00:00:00 2001 From: nindogo Date: Thu, 27 Jun 2019 11:08:22 +0300 Subject: [PATCH] Slight changes to enable scanning for videos in pages on logging in. --- youtube_dl/extractor/porntrex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/porntrex.py b/youtube_dl/extractor/porntrex.py index 46dbd9a09..cf7442b21 100644 --- a/youtube_dl/extractor/porntrex.py +++ b/youtube_dl/extractor/porntrex.py @@ -80,7 +80,7 @@ class PornTrexIE(PornTrexBaseIE): thumbnails.append({'url': thumbs}) formats = [] - movie_urls = re.findall(r"['\"](https://www.porntrex.com/get_file/.*?)/['\"]", webpage) + movie_urls = re.findall(r"'(https://www.porntrex.com/get_file/.*?)/'", webpage) for movie_url in movie_urls: formats.append({'url': movie_url, 'height': int(self._search_regex(r'_(\d+)p\.',