Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Challenge: Parse XML Feed for Youtube channel -- XML::Twig

by soonix (Canon)
on Jun 28, 2022 at 12:52 UTC ( [id://11145140]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Challenge: Parse XML Feed for Youtube channel -- XML::Twig
in thread Challenge: Parse XML Feed for Youtube channel

Hm. The feed for the complete channel also seems to contain only 15 elements, which certainly isn't complete, either…, although the channel (https://www.youtube.com/c/YAPCNA/videos) contains about 42 videos from between 2022-06-24 and 2022-06-24 (plus many more older ones).

Perhaps we need another challenge first: generate an RSS feed from the Youtube webpage for a playlist (or channel) 😛

(Update: biggest part of this second challenge probably is to overcome dynamic scrolling, and perhaps this is the challenge where YT's own feed generator fails)
  • Comment on Re^3: Challenge: Parse XML Feed for Youtube channel -- XML::Twig

Replies are listed 'Best First'.
Re^4: Challenge: Parse XML Feed for Youtube channel -- XML::Twig
by LanX (Saint) on Jun 28, 2022 at 13:01 UTC
    > (Update: biggest part of this second challenge probably is to overcome dynamic scrolling, and perhaps this is the challenge where YT's own feed generator fails)

    I wouldn't be surprised if the dynamic scrolling was implemented by polling some (inoffical) JSON structure.

    I think YT is deliberately neglecting to update the feed.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      > I wouldn't be surprised if the dynamic scrolling was implemented by polling some (inoffical) JSON structure.

      Indeed, was able to create a full playlist this way.

      ==> see update Recordings for TPC 2022 in Houston.

      Alas a video-description was not available.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11145140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-20 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found