From 8924ddc3eec4c03c6776673d0d5e823dc5445549 Mon Sep 17 00:00:00 2001 From: nixxo Date: Mon, 9 Nov 2020 10:07:52 +0100 Subject: [PATCH] [gedi] fixed Gedi regex --- youtube_dlc/extractor/gedi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dlc/extractor/gedi.py b/youtube_dlc/extractor/gedi.py index e64ecebe7..9d9d4acc2 100644 --- a/youtube_dlc/extractor/gedi.py +++ b/youtube_dlc/extractor/gedi.py @@ -129,7 +129,7 @@ class GediIE(GediBaseIE): |corrierealpi |lasentinella ) - (?:\.gelocal)?\.it/.+?/(?P[\d/]+)(?:\?|\&|$)''' + (?:\.gelocal)?\.it/(?!embed/).+?/(?P[\d/]+)(?:\?|\&|$)''' _TESTS = [{ 'url': 'https://video.lastampa.it/politica/il-paradosso-delle-regionali-la-lega-vince-ma-sembra-aver-perso/121559/121683', 'md5': '84658d7fb9e55a6e57ecc77b73137494',