logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: d81421af4b4c3f8f6e197ad4a06fcdb948484c24
parent 7422a2194fcbc179083c6927a2fcca278fed39c5
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon, 22 Feb 2021 23:02:15 +0100

[gedidigital] improve asset id matching

Diffstat:

Myoutube_dl/extractor/gedidigital.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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',