mirror of
https://github.com/LucBerge/yt-dlp.git
synced 2025-03-17 19:57:52 +03:00
[test] Convert warnings into errors
* And fix some existing warnings Authored by: fstirlitz
This commit is contained in:
parent
3d3bb1688b
commit
b6dc37fe2a
9 changed files with 13 additions and 11 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue