[kanal2]: avoid shadowing variables from outer scope

This commit is contained in:
Elan Ruusamäe 2018-12-18 11:23:31 +02:00
parent 9bd56961b5
commit 9ee6cd55b2

View File

@ -42,7 +42,7 @@ class Kanal2IE(InfoExtractor):
},
]
def _real_extract(self, url):
def _real_extract(self, url_):
def get_title(info):
title = info['title']
@ -101,6 +101,7 @@ class Kanal2IE(InfoExtractor):
return session
def extract_info(url):
video_id = self._match_id(url)
playlist = get_playlist(video_id)
@ -117,3 +118,5 @@ class Kanal2IE(InfoExtractor):
}
return info
return extract_info(url_)