From 920ad13673b4f60274fe132bf17d8019011dfc9b Mon Sep 17 00:00:00 2001
From: nixxo <c.nixxo@gmail.com>
Date: Thu, 29 Oct 2020 13:37:07 +0100
Subject: [PATCH] [skyitalia] fixed coding conventions

---
 youtube_dlc/extractor/skyitalia.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/youtube_dlc/extractor/skyitalia.py b/youtube_dlc/extractor/skyitalia.py
index a4e894044..3c7bd465d 100644
--- a/youtube_dlc/extractor/skyitalia.py
+++ b/youtube_dlc/extractor/skyitalia.py
@@ -33,11 +33,11 @@ class SkyItaliaBaseIE(InfoExtractor):
 
         formats = []
         for q, r in self._RES.items():
-            key = 'web_' + q + '_url'
+            key = 'web_%s_url' % q
             if key not in video_data:
                 continue
             formats.append({
-                'url': video_data[key],
+                'url': video_data.get(key),
                 'format_id': q,
                 'width': r[0],
                 'height': r[1]