tushifire commited on
Commit
308842c
·
1 Parent(s): 197415a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def extract_comments_from_video(video_id,youtube_api_key):
38
  youtube = googleapiclient.discovery.build(
39
  api_service_name, api_version, developerKey = youtube_api_key)
40
  print("Before extract_all_comments")
41
- found_comments = extract_all_comments(video_id = video_id,page_token='')
42
  print(len(found_comments))
43
  comments_df = pd.DataFrame(found_comments)
44
  except:
 
38
  youtube = googleapiclient.discovery.build(
39
  api_service_name, api_version, developerKey = youtube_api_key)
40
  print("Before extract_all_comments")
41
+ found_comments = extract_all_comments(video_id = video_id,youtube = youtube,page_token='')
42
  print(len(found_comments))
43
  comments_df = pd.DataFrame(found_comments)
44
  except: