We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3ab15b commit 4ab601fCopy full SHA for 4ab601f
1 file changed
youtube2zim/scraper.py
@@ -506,6 +506,8 @@ def extract_videos_list(self):
506
self.playlists[0].videos = all_videos
507
self.playlists[0].videos_count = len(all_videos)
508
self.playlists = self.playlists[:1]
509
+ for i, p in enumerate(self.playlists):
510
+ p.position = i
511
512
playlist_json = {
513
"playlist_id": self.playlists[0].playlist_id,
0 commit comments