aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/gedidigital.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2021-02-22 23:02:15 +0100
committerRemita Amine <remitamine@gmail.com>2021-02-22 23:02:15 +0100
commitd81421af4b4c3f8f6e197ad4a06fcdb948484c24 (patch)
tree0bf4e65e6865fdb29a424b797b8e7c7d80d73f75 /youtube_dl/extractor/gedidigital.py
parent7422a2194fcbc179083c6927a2fcca278fed39c5 (diff)
[gedidigital] improve asset id matching
Diffstat (limited to 'youtube_dl/extractor/gedidigital.py')
-rw-r--r--youtube_dl/extractor/gedidigital.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gedidigital.py b/youtube_dl/extractor/gedidigital.py
index 1b47a4e27..6c4153b40 100644
--- a/youtube_dl/extractor/gedidigital.py
+++ b/youtube_dl/extractor/gedidigital.py
@@ -32,7 +32,7 @@ class GediDigitalIE(InfoExtractor):
|corrierealpi
|lasentinella
)\.gelocal
- )\.it(?:/[^/]+){2,3}/(?P<id>\d+)'''
+ )\.it(?:/[^/]+){2,3}?/(?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',