Closed ghost closed 5 years ago
@ewan2395 Please test and report
@ewan2395 no answer in 2 weeks, closing.
Hey You are getting a key error , because there is no value of likeCount in that particular video.Few People hide their no of likes,comments .....So, at that particular video,u get a key error. this happens with view count,dilsike count toooo you can try exception handling: like below..
try:
likeCount.append(int(vid_resp['items'][j]['statistics']['likeCount']))
except KeyError as l:
likeCount.append(0)
Like and dislike count is disabled on the video in question: https://www.youtube.com/watch?v=MYxASuEqMlY
The error below is thrown when attempting to scrape the episode; it also ceases to continue with other any other episodes on the current job.