]> jfr.im git - yt-dlp.git/commit - yt_dlp/extractor/youtube.py
fix: youtube: Polymer UI and JSON endpoints for playlists
authorLuc Ritchie <redacted>
Tue, 10 Nov 2020 08:38:26 +0000 (03:38 -0500)
committerLuc Ritchie <redacted>
Tue, 10 Nov 2020 08:38:26 +0000 (03:38 -0500)
commit9833e7a015ca788a4f881c8ee945967b5f3d71bc
treec5c131b1f6155d2d3def09c35bda292e621a27ce
parent651bae3d231640fa9389d4e8d24412ad75f01843
fix: youtube: Polymer UI and JSON endpoints for playlists

We already had a few copies of Polymer-style pagination handling logic
for certain circumstances, but now we're forced into using it for all
playlists since we can no longer disable Polymer. Refactor the logic to
move it to the parent class for all entry lists (including e.g. search
results, feeds, and list of playlists), and generify a bit to cover the
child classes' use cases.
youtube_dlc/extractor/youtube.py