1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

Rank flake8

This commit is contained in:
LexManos 2020-01-10 12:24:04 -08:00
parent 8e1b235c0e
commit 58fbc02cc6

View File

@ -173,7 +173,7 @@ class GoIE(AdobePassIE):
entries = [] entries = []
for id in video_id: for id in video_id:
entry = self._real_extract_single(id, site_info, brand) entry = self._real_extract_single(url, id, site_info, brand)
if entry: if entry:
entries.append(entry) entries.append(entry)
@ -183,7 +183,7 @@ class GoIE(AdobePassIE):
return entries[0] return entries[0]
return self.playlist_result(entries) return self.playlist_result(entries)
def _real_extract_single(self, video_id, site_info, brand): def _real_extract_single(self, url, video_id, site_info, brand):
video_data = self._extract_videos(brand, video_id)[0] video_data = self._extract_videos(brand, video_id)[0]
video_id = video_data['id'] video_id = video_data['id']
title = video_data['title'] title = video_data['title']