diff --git a/youtube_dl/extractor/porntrex.py b/youtube_dl/extractor/porntrex.py index cf7442b21..75e780eb7 100644 --- a/youtube_dl/extractor/porntrex.py +++ b/youtube_dl/extractor/porntrex.py @@ -80,8 +80,10 @@ 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: + if re.search(r'screenshots', movie_url): + continue formats.append({'url': movie_url, 'height': int(self._search_regex(r'_(\d+)p\.', movie_url,