freyta / WWE-Network-Downloader

My own WWE downloader.
38 stars 11 forks source link

Not getting correct m3u8 info...? #34

Open mighty0n3 opened 6 months ago

mighty0n3 commented 6 months ago

Me again.. ;)

I tried downloading some old stuff but it seems like that the m3u8 info is incomplete - or maybe I just do something wrong. Command was python3 main.py -t https://network.wwe.com/video/67248?seasonId=15071

Result is here

Thanks for your assistance

freyta commented 6 months ago

I don't have a full subscription, so can you post the output of the m3u8 file it is trying to download?

You can add the code print(index_m3u8_obj.dumps()) to line 141 to assist.

mighty0n3 commented 6 months ago

Sure - here it is

freyta commented 6 months ago

Seems to be unavailable. Can you post it again?

mighty0n3 commented 6 months ago

let's try pastes.io then ;D

karlstone93 commented 6 months ago

Can you paste the contents of your main.py to pastebin or something like that and drop the link here for me to look at?

freyta commented 6 months ago

Sorry for the late reply. Can you post the total length of the playlist? On line 114 of download_util.py add the line print(total_length) and it should print out how long the video is.

mighty0n3 commented 6 months ago

@karlstone93 https://pastebin.com/D5mvyb7z @freyta https://pastes.io/mwjedsbqbr

freyta commented 5 months ago

Is this still happening?

mighty0n3 commented 5 months ago

Unfortunately, yes. I also tried several different videos but still the same.

Besides, I newly cloned the repo (just in case I missed changes meanwhile) but there seems to be a problem with wwe.py

Traceback (most recent call last): File "//WWE-Network-Downloader/main.py", line 3, in import wwe File "//WWE-Network-Downloader/wwe.py", line 145 for i in chapters: ^ IndentationError: unindent does not match any outer indentation level

crafciak31 commented 5 months ago

Hello, I may have simillar problems as well, and since I'm on Windows instead of Linux, and I'm also an amateur I don't know how much is that my problem, but I have the exact same error as the person above.

C:\WWE-Network-Downloader-master> python main.py -t https://network.wwe.com/video/609920 C:\WWE-Network-Downloader-master\wwe.py:10: SyntaxWarning: invalid escape sequence '\d' time_matches = re.match("\b(\d{2}):\b(\d{2}):\b(\d{2})", time) Traceback (most recent call last): File "C:\WWE-Network-Downloader-master\main.py", line 3, in import wwe File "C:\WWE-Network-Downloader-master\wwe.py", line 145 for i in chapters: ^ IndentationError: unindent does not match any outer indentation level