Skip to content

Commit 4ab601f

Browse files
committed
fix broken homepage
1 parent b3ab15b commit 4ab601f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

youtube2zim/scraper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ def extract_videos_list(self):
506506
self.playlists[0].videos = all_videos
507507
self.playlists[0].videos_count = len(all_videos)
508508
self.playlists = self.playlists[:1]
509+
for i, p in enumerate(self.playlists):
510+
p.position = i
509511

510512
playlist_json = {
511513
"playlist_id": self.playlists[0].playlist_id,

0 commit comments

Comments
 (0)