mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
fix for flake8
This commit is contained in:
parent
687dd3be3f
commit
4311a4d6c3
@ -170,9 +170,9 @@ class LikeeUserIE(LikeeIE):
|
|||||||
info_playlist = self._regex_data(webpage, user)
|
info_playlist = self._regex_data(webpage, user)
|
||||||
uid = try_get(info_playlist, lambda x: x['userinfo']['uid'])
|
uid = try_get(info_playlist, lambda x: x['userinfo']['uid'])
|
||||||
|
|
||||||
return self.playlist_result(entries=self._entries(uid,user),playlist_id=uid,playlist_title=user)
|
return self.playlist_result(entries=self._entries(uid, user), playlist_id=uid, playlist_title=user)
|
||||||
|
|
||||||
def _entries(self,uid,user):
|
def _entries(self, uid, user):
|
||||||
count = 50
|
count = 50
|
||||||
lastPostId = ""
|
lastPostId = ""
|
||||||
while True:
|
while True:
|
||||||
@ -194,7 +194,7 @@ class LikeeUserIE(LikeeIE):
|
|||||||
continue
|
continue
|
||||||
video_id = video.get("postId")
|
video_id = video.get("postId")
|
||||||
yield self.url_result(
|
yield self.url_result(
|
||||||
url="https://likee.com/%s/video/%s" % (user,video_id),
|
url="https://likee.com/%s/video/%s" % (user, video_id),
|
||||||
ie=LikeeIE.ie_key(),
|
ie=LikeeIE.ie_key(),
|
||||||
video_id=video_id
|
video_id=video_id
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user