mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-23 06:35:51 -07:00
Discriminate URL pattern
This commit is contained in:
parent
5a2b28cd6e
commit
0ce3c3c243
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Pr0grammIE(InfoExtractor):
|
||||||
# https://pr0gramm.com/new/5495710:comment62621020 <- this is not the id!
|
# https://pr0gramm.com/new/5495710:comment62621020 <- this is not the id!
|
||||||
# https://pr0gramm.com/top/fruher war alles damals/5498175
|
# https://pr0gramm.com/top/fruher war alles damals/5498175
|
||||||
|
|
||||||
_VALID_URL = r'https?:\/\/pr0gramm\.com\/.+?\/(?P<id>[\d]+)(:|$)'
|
_VALID_URL = r'https?:\/\/pr0gramm\.com\/(?!static/\d+).+?\/(?P<id>[\d]+)(:|$)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://pr0gramm.com/new/video/5466437',
|
'url': 'https://pr0gramm.com/new/video/5466437',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue