[kanal2]: avoid shadowing variables from outer scope
This commit is contained in:
parent
9bd56961b5
commit
9ee6cd55b2
@ -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_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user