목록API (1)
Note
유튜브 api 활용 채널 정보 가져오기
api_key = '발급받은 api 키' # API v3 youtube = build('youtube', 'v3', developerKey=api_key) response = youtube.channels().list(part=['snippet','contentDetails','statistics','brandingSettings','topicDetails'],id='가져올 채널 id').execute() df_res = pd.json_normalize(response) if(df_res['pageInfo.totalResults'][0]>=1): df = pd.json_normalize(response['items']) channel_info = pd.DataFrame() channel_info['cha..
etc/Crawling
2022. 4. 11. 22:57