Fix missing change to new Response objects from utils.http.request (youtube.py)
This commit is contained in:
parent
9944f08acf
commit
d2fe95e0cc
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ class Module(ModuleManager.BaseModule):
|
|||
snippet = self.get_video_page(video_id, "snippet")
|
||||
if snippet.data["items"]:
|
||||
snippet = snippet.data["items"][0]["snippet"]
|
||||
statistics = self.get_video_page(video_id, "statistics")[
|
||||
statistics = self.get_video_page(video_id, "statistics").data[
|
||||
"items"][0]["statistics"]
|
||||
content = self.get_video_page(video_id, "contentDetails")[
|
||||
content = self.get_video_page(video_id, "contentDetails").data[
|
||||
"items"][0]["contentDetails"]
|
||||
video_uploader = snippet["channelTitle"]
|
||||
video_title = snippet["title"]
|
||||
|
|
Loading…
Reference in a new issue