DrKain / scrape-youtube

A lightning fast package to scrape YouTube search results
MIT License
112 stars 30 forks source link

YouTube Playlist Search always only results in two videos #28

Closed Reichmann-M closed 3 years ago

Reichmann-M commented 3 years ago

Describe the bug When I'm trying to search for a playlist by given ID the right playlist is found but always only has two videos although it should have 15.

YT-Playlist I used: PLcpBBg8UA1Oxz7973OVcCzyBR-caH7hCQ Result:

{
  id: 'PLcpBBg8UA1Oxz7973OVcCzyBR-caH7hCQ',
  title: "Quentin Tarantino's DJANGO UNCHAINED Official Soundtrack",
  link: 'https://www.youtube.com/playlist?list=PLcpBBg8UA1Oxz7973OVcCzyBR-caH7hCQ',
  thumbnail: 'https://i.ytimg.com/vi/OhlVBpEnjig/hqdefault.jpg',
    name: 'Django Unchained OST',
    link: 'https://www.youtube.com/user/UnchainedSoundtrack',
    verified: false,
    thumbnail: 'https://www.gstatic.com/youtube/img/originals/promo/ytr-logo-for-search_160x160.png'
  },
  videoCount: 15,
  videos: [
    {
      id: 'OhlVBpEnjig',
      title: 'Django (Luis Bacalov)',
      link: 'https://youtu.be/OhlVBpEnjig',
      duration: 174,
      thumbnail: 'https://i.ytimg.com/vi/OhlVBpEnjig/hqdefault.jpg'
    },
    {
      id: 'XAWpIQATcRE',
      title: 'The Braying Mule (Ennio Morricone)',
      link: 'https://youtu.be/XAWpIQATcRE',
      duration: 154,
      thumbnail: 'https://i.ytimg.com/vi/XAWpIQATcRE/hqdefault.jpg'
    }
  ]
}

Nevertheless great library by the way! I really like it 👍

Reichmann-M commented 3 years ago

Sorry haven't read the ReadMe enough though... ^^