Skip to content

Commit

Permalink
Force YouTube.get_related_videos to not use login details
Browse files Browse the repository at this point in the history
- If account does not have history tracking enabled then no related videos will be retrieved
  • Loading branch information
MoojMidge committed Jan 14, 2024
1 parent 5d4d7b5 commit 5fda40c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/lib/youtube_plugin/youtube/client/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,8 @@ def get_related_videos(self,
result = self.api_request(version=1,
method='POST',
path='next',
post_data=post_data)
post_data=post_data,
no_login=True)
if not result:
return []

Expand Down

0 comments on commit 5fda40c

Please sign in to comment.