Closed bigbossman22 closed 4 years ago
Hey mate,
You'll need to run pip3 install --user -r requirements.txt
to install the missing module(s). Try that and let me know
Thank you! After installing the missing modules everything went smoothly. I love that you made it output with correct file names. Am I able to download entire year/season at once?
Am I able to download entire year/season at once?
I would also love to be able to do something like this. LetMeAtIt supposedly provides that functionality, but I much prefer what you've put together here, not to mention it's free.
That's pretty easy, I just use another script to call the main script/program. Something like this works fine:
# Import the needed files.
import requests
import os
# Link to the season we want to download. In this case it is WWE Raw 2009
link = requests.get('https://cdn.watch.wwe.com/api/filter/episodes?showIds=1007&year=2009&page_size=53').json()
# For each of the links in the above json file get the watch URL and send it to the main Python script/program.
for i in link['items']:
os.system("python3 main.py -s -e -c -t {}".format(i['watchPath']))
Paging @ctrlaltd1337ed @bigbossman22
Bro, you are the man!
Trying to figure out how to get this working and I am greeted with this error.
python3 main.py -t https://watch.wwe.com/episode/Raw-7157 Traceback (most recent call last): File "main.py", line 1, in <module> import wwe File "/home/owner/Documents/git/WWE-Network-Downloader/wwe.py", line 6, in <module> import arrow, datetime ModuleNotFoundError: No module named 'arrow'