- Mar 21, 2022
- 60
- 384
I'm not following you, explain that to me like if I was a dumb 3yo kidwith that error fixed, the new 404 error is because the website expects the same headers that were used when getting the index.m3u8 url
I'm not following you, explain that to me like if I was a dumb 3yo kidwith that error fixed, the new 404 error is because the website expects the same headers that were used when getting the index.m3u8 url
ask chatgpt what http headers areI'm not following you, explain that to me like if I was a dumb 3yo kid
well, I suppose you don't know eitherask chatgpt what http headers are
Just follow this. (With the wrong user-agent it will also give the 404 error.)I'm not following you, explain that to me like if I was a dumb 3yo kid
for yt-dlp I think you need to set the right user-agent of your browser and referer. For me this works:
yt-dlp.exe --add-header "User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" --referer "https://recu.me/" -o "filename.mp4" "https://.m3u8 link"
Thanks! NOW it works. I didn't see your comment beforeJust follow this. (With the wrong user-agent it will also give the 404 error.)
eveytime i switch vpn the video starts overuse a vpn and just connect to a different server for every video you want to download
its linked to your IP address, so you have to use a new VPN IP every time you sign up for the trialanyone know how to create multiple accounts w/ the 3 day trial? i tried creating another and even with tor browser it says i have already activated the 3 day trial
Do you know how JDownloader gets a hold of the m3u8 url? or do you perhaps have a recurbate ultimate account?there you go:
60 min long video 2022-09-11 20:53
"Video unavailable" link https://recu.me/video/35396326/play
Models profile and the linked video is nowhere to be found https://recu.me/performer/riskyproject/page/38
Edit - ..added the Video in question, when you have access to the link and are able to download it:
anyone know how to create multiple accounts w/ the 3 day trial? i tried creating another and even with tor browser it says i have already activated the 3 day trial
Do you know how JDownloader gets a hold of the m3u8 url? or do you perhaps have a recurbate ultimate account?
I've been using yt-dlp with m3u8 links, but have been unable to find it to grab unavailable videos
I made this yesterday, just download the index.m3u8 file when you start the video through the network inspector (make sure the network inspector is open when you start the video)What’s the best solution for Mac users? Using Chrome and inspect to be able to find the mp4 address was such an easy process. Sucks that it no longer works.
import requests
import time
import sys
filename = "index.m3u8"
outputfile = "output.ts"
header = {
"Accept": "*/*",
"Accept-Language": "en-US,en;q=0.9",
"Origin": "https://recu.me",
"Sec-Ch-Ua": '"Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"',
"Sec-Ch-Ua-Mobile": "?0",
"Sec-Ch-Ua-Platform": '"Windows"',
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "cross-site",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0",
}
class average:
array = []
pos = 0
size = 0
def __init__(self, size):
self.size = size
def add(self, value):
if self.pos >= self.size:
self.pos = 0
while len(self.array) <= self.pos:
self.array.append(value)
self.array[self.pos] = value
self.pos += 1
def average(self):
return sum(self.array)/len(self.array)
def download(link,header):
try:
data = requests.get(link, headers=header)
if data.status_code != 200:
return data.text, data.status_code
return data.content, None
except KeyboardInterrupt:
exit()
except:
return None, sys.exc_info()
with open(filename, 'r') as file:
indexfile = file.read()
index = indexfile.split('\n')
append = False
length = len(index)
buffer = average(25)
for i in range(length):
if index[i] != "" and index[i][0] != '#':
trys = 0
while True:
if trys > 100:
print(data)
if type(err) == int:
print(f"Status Code: {err}")
print("Either Download Expired or header formating is wrong")
exit()
print(err)
print(f"Error Downloading {(index[i]-8)/2}.ts ")
exit()
start = time.time()
data, err = download(index[i], header)
stop = time.time()
if err == None:
break
trys += 1
print("\rRetrying...",end="")
if not append:
write = 'wb'
append = True
else:
write = 'ab'
with open(outputfile+".ts", write) as file:
file.write(data)
data = None
buffer.add((stop-start)*(length-i)/2/60)
fill = " "
eta = buffer.average()
unit = "mins"
if eta > 1440:
eta = eta/1440
unit = "days"
if eta > 60:
eta = eta/60
unit = "hrs"
if eta < 1:
eta = eta *60
unit = "secs"
print(f"\rDownloaded: {(i/length*100):.1f}%\tRemaining: {eta:.1f} {unit}{fill}",end= "")
print(f"\rFinished Download{fill}{fill}")
Would someone be willing to download some vids and put them up here ? A girl by the name of premiumcharlie on rectube I’ve been trying to find her stuff for years and that’s the only place that has it and I can’t download it someone would be doing me a solid thank you !
yt-dlp.exe --add-header "User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" --referer "https://recu.me/" -o "filename.mp4" "m3u8 url"