p4ul17 / voe-dl

A Python downloader for voe.sx videos
GNU General Public License v3.0
53 stars 7 forks source link

Update dl.py #6

Closed cybersnash closed 8 months ago

cybersnash commented 8 months ago

The downloader didn't work so i fixed it. The json isn't in plain text anymore in the html/script. It is in a base64 decoded string inside a script inside the html. Do the mp4 files exist or is all hls now?

p4ul17 commented 8 months ago

mp4 doesn't exist since the last update. i just let it there in case they add it back. I tried using your updated script but there's an error:

Traceback (most recent call last):
  File "C:\Users\Paul\Desktop\voe-dl\dl.py", line 101, in <module>
    main()
  File "C:\Users\Paul\Desktop\voe-dl\dl.py", line 29, in main
    download(URL)
  File "C:\Users\Paul\Desktop\voe-dl\dl.py", line 73, in download
    jsonText = base64.b64decode(jsonText)
  File "C:\Program Files\Python310\lib\base64.py", line 87, in b64decode
    return binascii.a2b_base64(s)
binascii.Error: Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4
p4ul17 commented 8 months ago

Does work now, was probably just a weird link i got. I've uploaded new releases aswell for windows and linux. Thanks for the quick solution

p4ul17 commented 8 months ago

@cybersnash do you have discord or an email for me?

cybersnash commented 8 months ago

@cybersnash do you have discord or an email for me?

yes why? this is my discord: xxxphil5000xxx

p4ul17 commented 8 months ago

Just to communicate more easily