PeterTheOne / slideslive-slides-dl

slideslive slides downloading script
MIT License
123 stars 26 forks source link

Unable to download using this tool #19

Open charlesxu90 opened 2 years ago

charlesxu90 commented 2 years ago
Traceback (most recent call last):
  File "~/Downloads/Slideslive/slideslive-slides-dl/slideslive-slides-dl.py", line 122, in <module>
    create_ffmpeg_concat_file(video_id, video_name, df, args.size)
  File "~/Downloads/Slideslive/slideslive-slides-dl/slideslive-slides-dl.py", line 91, in create_ffmpeg_concat_file
    duration = int(row['timeSec']) - last_time
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
DungMinhDao commented 1 year ago

Does anyone have a workaround?

smsnobin77 commented 10 months ago

I tried and didn't work.

JasonGross commented 8 months ago

Since https://github.com/yt-dlp/yt-dlp/pull/5784, you can use yt-dlp --write-all-thumbnails to get slides. Maybe the code there will also contain hints about how to solve this problem here.