Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed downloading M3U8 at playlist_content request. Response code: 403 #17

Closed
ZincStoat opened this issue Feb 7, 2024 · 32 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ZincStoat
Copy link

ZincStoat commented Feb 7, 2024

Up until a couple of days ago it's all been working fine, my subscriptions are live, I can play videos/view pictures through the browser and fansly-downloader-ng didn't have a problem downloading.
Recent videos though report errors like the following

Attached as text file to avoid auto formatting xml
errors.txt

It then goes on to deduplicate/skip all past content. I've checked my authorization_token, updated my user_agent as Chrome had updated, though the script hadn't reported any issues there. I'm wondering whether Fansly have broken something, again.

Happens with more than one creator who've uploaded video recently, but having added a creator I haven't scraped in a while, older videos (up to the end of January at least) seem fine, so I think it's a "new feature".

No issues downloading images that I can see.

Using version 0.8.4

@JuuuuunArs
Copy link

I also have the same symptom and cannot download certain videos.

@GITHU8HO
Copy link

GITHU8HO commented Feb 9, 2024

Getting the same issue

@ZincStoat
Copy link
Author

@prof79 are there any debug switches or similar I can add to get more information for you?

@prof79
Copy link
Owner

prof79 commented Feb 9, 2024

Thanks @ZincStoat for all the steps and info, there would be --debug but I doubt it will be of much help. That must be some header or cookie stuff on Fansly's side to "protect" their stuff better. I'd need to do a live observation/browser tools session.
I'm pretty ill right now with high fever, so I'll come back to y'all in due time.

@prof79 prof79 self-assigned this Feb 9, 2024
@ZincStoat
Copy link
Author

Thanks @ZincStoat for all the steps and info, there would be --debug but I doubt it will be of much help. That must be some header or cookie stuff on Fansly's side to "protect" their stuff better. I'd need to do a live observation/browser tools session. I'm pretty ill right now with high fever, so I'll come back to y'all in due time.

Okay man, thanks. Take care of yourself first and foremost.

@fl4shforward
Copy link

From what I'm seeing, latest vids seems to have ditched m3u8.
They seem to be split in 2 feeds:
image

@DrugiAcc
Copy link

DrugiAcc commented Feb 11, 2024

I programmed a very quick solution utilizing ffmpeg, so you can run this PowerShell script:

$videoName = "YOUR_VIDEO_NAME.mp4";
$audio = "https://cdn3.fansly.com/new/.../media-audio-en-mp4a.40.2-1.mp4";
$video = "https://cdn3.fansly.com/new/.../media-video-avc1-1.mp4";
$cookie = '';
ffmpeg -headers "Cookie: $cookie" -i $video -headers "Cookie: $cookie" -i $audio $videoName

You just have to find audio & video URLs and to get the cookie navigate to either URL and run copy(document.cookie) in browser console.

If that's not working, download the resources from a browser and run this:
ffmpeg -i media-video-avc1-1.mp4 -i media-audio-en-mp4a.40.2-1.mp4 -c:v copy YOUR_VIDEO_NAME.mp4 ; Remove-Item media-video-avc1-1.mp4, media-audio-en-mp4a.40.2-1.mp4

The resources are suffixed with "-1", which is the highest quality. So if that's 4K, replace it with '-2' if you want the FHD version.

@bssoul
Copy link

bssoul commented Feb 12, 2024

I have the same issue but only in messages and it's only 1 video in msgs it won't download.
I'm new here & not sure if I post questions here about the use or elsewhere. My question is about using single function.
Single: Fetch a single post by the post's ID. Click on a post to see its ID in the url bar e.g. ../post/1283493240234
do I put the full url in? Here is how I've tried it & not working for me.
download_mode = Single https://fansly.com/post/123451111111111111
download_mode = Single /post/123451111111111111
Thanks for the help, it's driving me crazy. lol

@prof79 prof79 added the bug Something isn't working label Feb 14, 2024
@Troll180
Copy link

Having the same issues, using the newest version, it download pictures without issues but no videos.

@bssoul
Copy link

bssoul commented Feb 14, 2024

@Troll180 I've been having issue with it not downloading 1 specific video in dms. Ran it again yesterday & I'm noticing no vids after Feb 5, 2024 will download, not in messages or timeline. I'll try again tonight and see if the same.
prof79 is ill so we'll wait. Can't blame the man for not dealing with it when ill.

@Troll180
Copy link

@Troll180 I've been having issue with it not downloading 1 specific video in dms. Ran it again yesterday & I'm noticing no vids after Feb 5, 2024 will download, not in messages or timeline. I'll try again tonight and see if the same. prof79 is ill so we'll wait. Can't blame the man for not dealing with it when ill.

Noticed it stopped downloading vids after Feb 6 for me. And yeah no worries, I wasn't complaining, just saying it was still bugged for me as there was a new version. Hope he get better quick! :)

@bssoul
Copy link

bssoul commented Feb 15, 2024

@Troll180 I've been having issue with it not downloading 1 specific video in dms. Ran it again yesterday & I'm noticing no vids after Feb 5, 2024 will download, not in messages or timeline. I'll try again tonight and see if the same. prof79 is ill so we'll wait. Can't blame the man for not dealing with it when ill.

Noticed it stopped downloading vids after Feb 6 for me. And yeah no worries, I wasn't complaining, just saying it was still bugged for me as there was a new version. Hope he get better quick! :)

What had me going nuts is the vid in dm , that one vid was the only vid not downloading. I didn't realize that I wasn't downloading vids after the 5th. Without knowing how these programs work I have to think some script changes at Fansly to stop the downloading.

I didn't think you were complaining. I was just saying I can't blame the guy because he's sick.

@prof79
Copy link
Owner

prof79 commented Feb 15, 2024

@bssoul you're expected just to say download_mode = single in the config, the program will prompt you for the post ID explicitly and there you would just enter the digits as told alone eg. 123451111111111111

@bssoul
Copy link

bssoul commented Feb 15, 2024

@bssoul you're expected just to say download_mode = single in the config, the program will prompt you for the post ID explicitly and there you would just enter the digits as told alone eg. 123451111111111111

I should have asked a long time ago.. lol Thank you that worked great.

I downloaded v0.8.5 today and I'm having same issues, it's not downloading videos from Feb 5th on in both msgs & timeline.

Thank you prof79

@Python749
Copy link

Having this same issue. Cannot download 3 videos from 2 different accounts.

@camereaguy2
Copy link

Seems to be the same issue we're all having, then.
image

@bssoul
Copy link

bssoul commented Feb 15, 2024

Seems to be the same issue we're all having, then. image

Yes it does. Hoping it can be resolved. Without knowing much about these systems it seems like fansly put some blockers in place. An uneducated guess, lol I have no coding experience at all.

@ZincStoat
Copy link
Author

Fixed in 0.8.6. Many many thanks @prof79 hope you're feeling better now.

@bssoul
Copy link

bssoul commented Feb 15, 2024

Fixed in 0.8.6. Many many thanks @prof79 hope you're feeling better now.

Now that's awsome news!

@prof79
Copy link
Owner

prof79 commented Feb 15, 2024

@ZincStoat you're quite the quick one :D
Yeah thanks, feeling better - also work caught up on me.

We could have spared us this issue if not for one of the original author's ingenious optimizations, guessing the final M3U8's name ... M3U8s are still used in the Fansly API but they have renamed it a bit so one needs to get the master list first, locate the sub-playlist with the highest resolution et voilà, we get what we had in the first place - a list of MPEG-TS files to download and merge.

@bssoul
Copy link

bssoul commented Feb 15, 2024

@ZincStoat you're quite the quick one :D Yeah thanks, feeling better - also work caught up on me.

We could have spared us this issue if not for one of the original author's ingenious optimizations, guessing the final M3U8's name ... M3U8s are still used in the Fansly API but they have renamed it a bit so one needs to get the master list first, locate the sub-playlist with the highest resolution et voilà, we get what we had in the first place - a list of MPEG-TS files to download and merge.

You sure as hell impress me with the speed you get things done, especially when you are sick. 👍

@ZincStoat
Copy link
Author

We could have spared us this issue if not for one of the original author's ingenious optimizations

I've been caught out by previous author's cunning but ultimately unsafe tricks in my own programming career so I can sympathise. Great work sir, thanks again.

@bssoul
Copy link

bssoul commented Feb 15, 2024

image

Just got this error , click on continue to try again and it's downloading again. I lost the 1 video in the error but seems to have downloaded everything else. It got 100% from messages so it's working great. For the hell of it I'll download again tomorrow & see if I get the error again and if I get the vid.

@prof79
Copy link
Owner

prof79 commented Feb 15, 2024

image

Just got this error , click on continue to try again and it's downloading again. I lost the 1 video in the error but seems to have downloaded everything else. It got 100% from messages so it's working great. For the hell of it I'll download again tomorrow & see if I get the error again and if I get the vid.

Yes please, that's interesting ... looks like it stumbled upon an M3U8 that either already was the end or empty, for whatever reason ...

@bssoul
Copy link

bssoul commented Feb 15, 2024

image
Just got this error , click on continue to try again and it's downloading again. I lost the 1 video in the error but seems to have downloaded everything else. It got 100% from messages so it's working great. For the hell of it I'll download again tomorrow & see if I get the error again and if I get the vid.

Yes please, that's interesting ... looks like it stumbled upon an M3U8 that either already was the end or empty, for whatever reason ...

I'll try it in the am and get back to you as soon as it's done. I just realized something. It was originally a still that she added some moving butterfly wings to. I checked some recent downloads ( I don't toss anything until I know I'm done with it) and it's been downloading with 8.5 & 8.4 maybe it was just an error this time. I'll let you know tomorrow.

Thank you for these upgrades, you're awesome 👍

@ZincStoat
Copy link
Author

After all that, the creator I was most concerned about missing updates for has announced they're relocating to FanVue because Fansly support are being totally unhelpful. Anyone know a good downloader for FanVue? Ugh. ;)

@bssoul
Copy link

bssoul commented Feb 16, 2024

image
Just got this error , click on continue to try again and it's downloading again. I lost the 1 video in the error but seems to have downloaded everything else. It got 100% from messages so it's working great. For the hell of it I'll download again tomorrow & see if I get the error again and if I get the vid.

Yes please, that's interesting ... looks like it stumbled upon an M3U8 that either already was the end or empty, for whatever reason ...

I'll try it in the am and get back to you as soon as it's done. I just realized something. It was originally a still that she added some moving butterfly wings to. I checked some recent downloads ( I don't toss anything until I know I'm done with it) and it's been downloading with 8.5 & 8.4 maybe it was just an error this time. I'll let you know tomorrow.

Thank you for these upgrades, you're awesome 👍

@prof79 I downloaded the newest version 8.7 & ran it, got the same error as with 8.6. However when I checked vid download count vs how many vids she's posted I got all vids.

@bssoul
Copy link

bssoul commented Feb 16, 2024

@prof79 I meant to ask, is their anyway to download the creators "Story" videos? I know not all of them do these little shorts but creator I follow does daily.

Thank you!

@bssoul
Copy link

bssoul commented Feb 16, 2024

image
Just got this error , click on continue to try again and it's downloading again. I lost the 1 video in the error but seems to have downloaded everything else. It got 100% from messages so it's working great. For the hell of it I'll download again tomorrow & see if I get the error again and if I get the vid.

Yes please, that's interesting ... looks like it stumbled upon an M3U8 that either already was the end or empty, for whatever reason ...

I'm getting it with 8.7 also but after clicking continue I do get all vids. I'm replying to this again because I just realized I replied to myself earlier.. lol .. Sorry
image

@prof79
Copy link
Owner

prof79 commented Feb 17, 2024

@bssoul lucky me I also caught it with one of my creators now. Seems Fansly in some corner cases hands out empty M3U8 playlists which is the culprit for this. Funnily assuming/guessing there is an 1080p version of it works so v0.8.8 now attempts/can download such broken versions to a degree. Don't know if this workaround will work for all variations out there. Please try.

@bssoul
Copy link

bssoul commented Feb 17, 2024

@bssoul lucky me I also caught it with one of my creators now. Seems Fansly in some corner cases hands out empty M3U8 playlists which is the culprit for this. Funnily assuming/guessing there is an 1080p version of it works so v0.8.8 now attempts/can download such broken versions to a degree. Don't know if this workaround will work for all variations out there. Please try.

I'm giving it a try now, I'll let you know how it goes.

Thank you!

@bssoul
Copy link

bssoul commented Feb 17, 2024

@bssoul lucky me I also caught it with one of my creators now. Seems Fansly in some corner cases hands out empty M3U8 playlists which is the culprit for this. Funnily assuming/guessing there is an 1080p version of it works so v0.8.8 now attempts/can download such broken versions to a degree. Don't know if this workaround will work for all variations out there. Please try.

I'm giving it a try now, I'll let you know how it goes.

Thank you!

@bssoul lucky me I also caught it with one of my creators now. Seems Fansly in some corner cases hands out empty M3U8 playlists which is the culprit for this. Funnily assuming/guessing there is an 1080p version of it works so v0.8.8 now attempts/can download such broken versions to a degree. Don't know if this workaround will work for all variations out there. Please try.

v0.8.8 is working great for me..
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants