From: Remita Amine Date: Mon, 22 Feb 2021 22:02:15 +0000 (+0100) Subject: [gedidigital] improve asset id matching X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d81421af4b4c3f8f6e197ad4a06fcdb948484c24;p=youtube-dl [gedidigital] improve asset id matching --- 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\d+)''' + )\.it(?:/[^/]+){2,3}?/(?P\d+)(?:[/?&#]|$)''' _TESTS = [{ 'url': 'https://video.lastampa.it/politica/il-paradosso-delle-regionali-la-lega-vince-ma-sembra-aver-perso/121559/121683', 'md5': '84658d7fb9e55a6e57ecc77b73137494',