Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

175
Views
trying fetch the particular video in youtube through id

enter image description here

So on the above picture you can see that, I have opened Liked playlist in YouTube. And to see the 5000th liked video I have to scroll all down. But is there any way to fetch the 5000th video, in next loading or in any way.

I have tried to changing the index number as in HTML code it was "id = index", so I though it will work but it didn't.

so if there way please tell me.

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

https://www.youtube.com/watch?v=?????????

if you try right click on your page and select view page source option or as in URL browser

view-source:https://www.youtube.com/watch?v=?????????

will see HTML source code and searching the id of video id inside HTML source code by find it (ctr+f)

?????????/ = id is hashing from specific private algo on YouTube code

about 4 years ago · Juan Pablo Isaza Report

0

This shell command using youtube-dl will return you the ids of the given playlist.

youtube-dl -j --flat-playlist "PLAYLIST_ID" | jq -r '.id'

Example of unlisted YouTube playlist with 4,000 videos: PL8wZFyWE1ZaI2HE7PYHvpx0_yv4oJjwAZ

about 4 years ago · Juan Pablo Isaza Report

0

Problem is: items (videos) inside a playlist are loaded dynamically.

You have you either scroll down in the page until you scroll at the end of it and no more videos loads or use the answer provided by Benjamin Loison and then, you can get the video at any given index position.

Even using the YouTube API, you have to use a pageToken to get the results of the next page / next batch of results.

I'm afraid that (if none of the options mentioned here are valir to you), then, there is no other way to get your desired outcome.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!