mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-23 06:35:51 -07:00
[pr0gramm] remove misplaced comment, uncapture regex-group
This commit is contained in:
parent
d8b46090a9
commit
e36ec0fdaa
1 changed files with 1 additions and 2 deletions
|
@ -80,7 +80,7 @@ class Pr0grammStaticIE(InfoExtractor):
|
||||||
class Pr0grammIE(InfoExtractor):
|
class Pr0grammIE(InfoExtractor):
|
||||||
# https://pr0gramm.com/new/546637
|
# https://pr0gramm.com/new/546637
|
||||||
# https://pr0gramm.com/new/video/546637
|
# https://pr0gramm.com/new/video/546637
|
||||||
_VALID_URL = r'https?://pr0gramm\.com/(?:new|top)/([^/]+/)?(?P<id>[0-9]+)'
|
_VALID_URL = r'https?://pr0gramm\.com/(?:new|top)/(?:[^/]+/)?(?P<id>[0-9]+)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://pr0gramm.com/new/video/5466437',
|
'url': 'https://pr0gramm.com/new/video/5466437',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
@ -98,7 +98,6 @@ class Pr0grammIE(InfoExtractor):
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
|
||||||
# Since t
|
|
||||||
return self.url_result(
|
return self.url_result(
|
||||||
'https://pr0gramm.com/static/' + video_id,
|
'https://pr0gramm.com/static/' + video_id,
|
||||||
video_id=video_id,
|
video_id=video_id,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue