prof79 / fansly-downloader-ng

Easy-to-use fansly.com content downloading tool. Written in Python and available as a standalone Windows Executable. Enjoy your Fansly content offline anytime, anywhere in the highest possible content resolution! Fully customizable to download in bulk or single: photos, videos & audio from timeline, messages, collection & single posts.
GNU General Public License v3.0
267 stars 15 forks source link

unexpected 403 error while downloading m3u8 playlist #23

Closed tcamnsk001 closed 6 months ago

tcamnsk001 commented 7 months ago

Bug Description

downloader encounters response code 403 access denied while downloading m3u8 playlist info after this a runtime Error occurs in mp4.py at line 122 where it attempts to convert the m3u8 video that did not download to mp4. after this the downloader does not continue and attempts to download the video again only to encounter the same response code it then finishes without collecting any further media.

Expected behavior

to download the video and convert it to mp4

Actual behavior

the downloader recieves a 403 access denied message and does not download any further media

( If applicable, add screenshots to help explain your problem. ) githubbug

Environment Information

User Research

I have done the following:

Additional context

prof79 commented 7 months ago

Please try https://github.com/prof79/fansly-downloader-ng/releases/tag/v0.8.17 whether it gives a better error/lets you at least continue.

lordoffools commented 7 months ago

Anyone having any luck with this?

OzMantis commented 7 months ago

No. I got this error:

[ Info ] [2024-02-19 | 19:49]: Downloading video '2024-01-23_at_01-35_id_605831545218932736.m3u8' [ WARNING ] [2024-02-19 | 19:49]: Fansly returned an empty M3U8 playlist. I'll try fetch a 1080p version, this might fail! [ [12]ERROR ] [2024-02-19 | 19:49]: Failed downloading M3U8 playlist info. Response code: 403 [ WARNING ] [2024-02-19 | 19:49]: Skipping invalid item: Failed downloading M3U8 playlist info. Response code: 403

left1000 commented 7 months ago

Did a change on fansly break the ripper again? Or is it only broken occasionally but not for everyone?

prof79 commented 7 months ago

As you might have noticed we had a lengthy resolution process due to naming changes of Fansly for vids published in Feb '24 onwards under https://github.com/prof79/fansly-downloader-ng/issues/17 and all people went happily thereafter.

I just did a full scrape of one of my paid creators and downloaded 169 vids in 16 GiB without a hitch back to Aug 2022 and up to Feb 23 2024.

Therefore, with the information provided, there is nothing I can do unless I had a creator name where, without having to pay/follow-only, I could reproduce the issue and diagnose the Fansly data responses and their effects in the downloader code.

I'm still waiting for @tcamnsk001 feedback. You @lordoffools and and @left1000 did not describe whether you get the original message or what @OzMantis posted/tried v0.8.17.

@OzMantis posted the only meaningful feedback where I can say this is a side-effect of fixing #17 for some old videos (before Februrary) where Fansly provides a wrong (empty) playlist response. I could try to "guess better" attempting a kind-of fallback/old logic inspired path/parallel path when an empty playlist surfaces which is somewhat complicated to implement.

left1000 commented 7 months ago

Nevermind my question, my rip was flawless today.

lordoffools commented 6 months ago

Thanks for the nudge, and for your patience with my update here, @prof79. I can confirm after a few hours of downloading and a couple different paid creators, that I can no longe reproduce this issue.

prof79 commented 6 months ago

Thanks @left1000 @lordoffools I'll keep it open for tracking since what @OzMantis confirmed - though a rare Fansly error with root playlists - the resolution strategy could be approved upon.

tcamnsk001 commented 6 months ago

sorry for the long wait. this resolved most of my issues i am still unable to download certain .m3u8 videos but it skipped over them and downloaded other content without issues

lipefleming commented 4 weeks ago

How do I solve this? I'm using the latest version, and I can't download a single file of a specific profile.