소스 검색

youtube-util: bug fix

pull/11/head
tech234a 3 년 전
부모
커밋
19f1d7fdc8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      youtube_channel.py

+ 1
- 1
youtube_channel.py 파일 보기

@@ -88,7 +88,7 @@ def process_channel(channelid: str):
# PLAYLISTS
data = {"context":{"client":{"hl":"en","gl":"US","clientName":"WEB","clientVersion":API_VERSION}},"browseId":channelid,"params":"EghjaGFubmVscw%3D%3D"}
while True:
initdata = mysession.post("https://www.youtube.com/youtubei/v1/browse", params=params, json=data).json()
initdata = mysession.post("https://www.youtube.com/youtubei/v1/browse", params=params, json=data)
if initdata.status_code == 200:
initdata = initdata.json()
break


불러오는 중...
취소
저장