From 0ce3c3c243a8c9cb640e10af924f3231c99dc469 Mon Sep 17 00:00:00 2001 From: dirkf Date: Sat, 28 Jan 2023 15:43:46 +0000 Subject: [PATCH] Discriminate URL pattern --- youtube_dl/extractor/pr0gramm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/pr0gramm.py b/youtube_dl/extractor/pr0gramm.py index 908166df6..b68224fd5 100644 --- a/youtube_dl/extractor/pr0gramm.py +++ b/youtube_dl/extractor/pr0gramm.py @@ -81,7 +81,7 @@ class Pr0grammIE(InfoExtractor): # https://pr0gramm.com/new/5495710:comment62621020 <- this is not the id! # https://pr0gramm.com/top/fruher war alles damals/5498175 - _VALID_URL = r'https?:\/\/pr0gramm\.com\/.+?\/(?P[\d]+)(:|$)' + _VALID_URL = r'https?:\/\/pr0gramm\.com\/(?!static/\d+).+?\/(?P[\d]+)(:|$)' _TEST = { 'url': 'https://pr0gramm.com/new/video/5466437', 'info_dict': {