DrKain/scrape-youtube

Invalid subscriber count / video count

Closed this issue · 1 comments

For some reason YouTube is returning incorrectly labelled data.
The videoCountText contains subscriber count and subscriberCountText contains the channel handle.
I don't modify this data so this is what's being returned by YouTube.

  videoCountText: {
    accessibility: { accessibilityData: [Object] },
    simpleText: '21 subscribers'
  },
  subscriptionButton: { subscribed: false },
  subscriberCountText: { simpleText: '@lespetitesmouettes8996' },

Partial fix in c237918. Subscriber count is now working as usual, video count is unavailable until YouTube fixes things on their side.