OP26 February, 2021 - 12:34 AM(This post was last modified: 26 February, 2021 - 09:41 PM by LMF.)
Reply
This tool download the most viewed clips from a streamer / a twitch category.
You need to add an intro & outro in .mp4
Install by running "install-packages" & "start-scraper.bat" to start the tool. Preview :
26 February, 2021 - 01:19 PM(This post was last modified: 26 February, 2021 - 01:21 PM by ProjectTrauma.)
Reply
Can you help me fix this issue?
Quote:C:\Users\marc0\Desktop\New folder>script.py
Choose a mode:
1] Scrape from game
2] Scrape from streamer
> 2
Streamer Exact Name (gotaga, sardoche...): shift
Number of clips to scrap: 20
Traceback (most recent call last):
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 285, in ffmpeg_parse_infos
line = [l for l in lines if keyword in l][index]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\marc0\Desktop\New folder\script.py", line 43, in <module>
L =[VideoFileClip("static/intro.mp4")]
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 91, in __init__
fps_source=fps_source)
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 36, in __init__
fps_source)
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 291, in ffmpeg_parse_infos
filename, infos))
OSError: MoviePy error: failed to read the duration of file static/intro.mp4.
Here are the file infos returned by ffmpeg:
(26 February, 2021 - 01:19 PM)ProjectTrauma Wrote: Show More
Can you help me fix this issue?
Quote:C:\Users\marc0\Desktop\New folder>script.py
Choose a mode:
1] Scrape from game
2] Scrape from streamer
> 2
Streamer Exact Name (gotaga, sardoche...): shift
Number of clips to scrap: 20
Traceback (most recent call last):
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 285, in ffmpeg_parse_infos
line = [l for l in lines if keyword in l][index]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\marc0\Desktop\New folder\script.py", line 43, in <module>
L =[VideoFileClip("static/intro.mp4")]
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 91, in __init__
fps_source=fps_source)
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 36, in __init__
fps_source)
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 291, in ffmpeg_parse_infos
filename, infos))
OSError: MoviePy error: failed to read the duration of file static/intro.mp4.
Here are the file infos returned by ffmpeg:
(26 February, 2021 - 08:00 PM)LMF Wrote: Show More
(26 February, 2021 - 01:19 PM)ProjectTrauma Wrote: Show More
Can you help me fix this issue?
Quote:C:\Users\marc0\Desktop\New folder>script.py
Choose a mode:
1] Scrape from game
2] Scrape from streamer
> 2
Streamer Exact Name (gotaga, sardoche...): shift
Number of clips to scrap: 20
Traceback (most recent call last):
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 285, in ffmpeg_parse_infos
line = [l for l in lines if keyword in l][index]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\marc0\Desktop\New folder\script.py", line 43, in <module>
L =[VideoFileClip("static/intro.mp4")]
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\VideoFileClip.py", line 91, in __init__
fps_source=fps_source)
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 36, in __init__
fps_source)
File "C:\Users\marc0\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\io\ffmpeg_reader.py", line 291, in ffmpeg_parse_infos
filename, infos))
OSError: MoviePy error: failed to read the duration of file static/intro.mp4.
Here are the file infos returned by ffmpeg: