diff --git a/youtube_dl/extractor/porntrex.py b/youtube_dl/extractor/porntrex.py index 944b6d022..46dbd9a09 100644 --- a/youtube_dl/extractor/porntrex.py +++ b/youtube_dl/extractor/porntrex.py @@ -125,7 +125,7 @@ class PornTrexPlayListIE(PornTrexBaseIE): playlist_id = self._match_id(url) webpage = self._download_webpage(url, playlist_id) - all_urls = re.findall(r'data-playlist-item="(.*?)"', webpage) + all_urls = re.findall(r'data-playlist-item=["\'](https?://www\.porntrex\.com/[^\'"]+)', webpage) entries = [] for this_url in all_urls: