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

> . heredoc are enough :)

Heredocs are fine, they are just built-in templating. I used them too.

NB: Unfortunately it turned out that the YT feed is incomplete, it only lists 13 talks in the playlist and I have no idea where to get a better source. :(

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

  • Comment on Re^2: Challenge: Parse XML Feed for Youtube channel -- XML::Twig

Replies are listed 'Best First'.
Re^3: Challenge: Parse XML Feed for Youtube channel -- XML::Twig
by soonix (Chancellor) on Jun 28, 2022 at 12:52 UTC
    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)
      > (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