aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/gedidigital.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-18 02:12:48 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-18 02:12:48 +0530
commitb6dc37fe2aee167bf11f863f960a4888f4886718 (patch)
tree0f54c44d32768acf9066bae7c0791e162e877369 /yt_dlp/extractor/gedidigital.py
parent3d3bb1688bfc5373105e6bf7c3d4729cf3f78788 (diff)
downloadhypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.tar.lz
hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.tar.xz
hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.zip
[test] Convert warnings into errors
* And fix some existing warnings Authored by: fstirlitz
Diffstat (limited to 'yt_dlp/extractor/gedidigital.py')
-rw-r--r--yt_dlp/extractor/gedidigital.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/gedidigital.py b/yt_dlp/extractor/gedidigital.py
index c878daff8..4ae5362b4 100644
--- a/yt_dlp/extractor/gedidigital.py
+++ b/yt_dlp/extractor/gedidigital.py
@@ -11,7 +11,7 @@ from ..utils import (
class GediDigitalIE(InfoExtractor):
- _VALID_URL = r'''(?x)(?P<url>(?:https?:)//video\.
+ _VALID_URL = r'''(?x:(?P<url>(?:https?:)//video\.
(?:
(?:
(?:espresso\.)?repubblica
@@ -33,7 +33,7 @@ class GediDigitalIE(InfoExtractor):
|corrierealpi
|lasentinella
)\.gelocal
- )\.it(?:/[^/]+){2,4}/(?P<id>\d+))(?:$|[?&].*)'''
+ )\.it(?:/[^/]+){2,4}/(?P<id>\d+))(?:$|[?&].*))'''
_TESTS = [{
'url': 'https://video.lastampa.it/politica/il-paradosso-delle-regionali-la-lega-vince-ma-sembra-aver-perso/121559/121683',
'md5': '84658d7fb9e55a6e57ecc77b73137494',