File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727from dateutil import parser as dt_parser
2828from kiwixstorage import KiwixStorage
2929from pif import get_public_ip
30+ from tabulate import tabulate
3031from zimscraperlib .download import stream_file
3132from zimscraperlib .fix_ogvjs_dist import fix_source_dir
3233from zimscraperlib .i18n import NotFound , get_language_details , setlocale
@@ -548,10 +549,7 @@ def download_video_files(self, max_concurrency):
548549 else :
549550 self .videos_ids = videos_ids_subset
550551 break
551- # print in a file, a table of videos to download with their size using tabulate module
552- # the column names are: video_id, video_title, video_views, video_size
553- # print also the total size of the videos to download and the total size of the subset
554- # and save the file in the /output directory
552+ # print the list of videos to download
555553 with open ("/output/subset_table.txt" , "w" ) as f :
556554 f .write (
557555 tabulate (
You can’t perform that action at this time.
0 commit comments