Skip to content

Commit

Permalink
fix get channel
Browse files Browse the repository at this point in the history
  • Loading branch information
dermasmid committed Nov 3, 2022
1 parent 00140a0 commit a797ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapetube/scrapetube.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_channel(
sort_by=sort_by_map[sort_by],
)
api_endpoint = "https://www.youtube.com/youtubei/v1/browse"
videos = get_videos(url, api_endpoint, "gridVideoRenderer", limit, sleep)
videos = get_videos(url, api_endpoint, "videoRenderer", limit, sleep)
for video in videos:
yield video

Expand Down

0 comments on commit a797ecf

Please sign in to comment.