Motyldrogi / fansly-downloader

Chrome Extension - Adds a download button to fansly.com feed and image gallery.
149 stars 9 forks source link

Downloader no longer works needs updating #8

Closed tallgirlsrhot closed 1 year ago

tallgirlsrhot commented 1 year ago

I think Fansly updated their system and the download button no longer works. I tried on a fresh install of chrome and still no luck.

Motyldrogi commented 1 year ago

Hey, for me everything works fine. So it's hard to find the problem

I guess you can help me if you tell me what you have tried to download, is the download button still visible etc.

Painstarz commented 1 year ago

ERRORCode This is the error that Chrome is showing when i try to use it. button still appears but when i click on it nothing happens.

Motyldrogi commented 1 year ago

@Painstarz thank you, will look into it soon

Painstarz commented 1 year ago

Hi there, any update on fixing the error?

osaminagano commented 1 year ago

Hi, I solve the issue. Please open content.js and modify "onDownloadClickModal" method with this code:

fixButtonDownload

Save and reinstall the extension.

Notes: The main problem is "event.path" because is pretty common browsers changes something in this old method, so i use event.composedPath() for take urls and add a condition to check if exist or not.

noonotthat commented 1 year ago

@osaminagano Is there any chance you could she your modified content.js file? I tried doing this but it still isn't working and I want to make sure I didn't do something wrong.

osaminagano commented 1 year ago

@osaminagano Is there any chance you could she your modified content.js file? I tried doing this but it still isn't working and I want to make sure I didn't do something wrong.

i create a new repository https://github.com/osaminagano/fansly-downloader-bugfix-v1, unfortunatly idk how use github so i can't create a pull request

osaminagano commented 1 year ago

@osaminagano Is there any chance you could she your modified content.js file? I tried doing this but it still isn't working and I want to make sure I didn't do something wrong.

Just remember to delete your extension and install the new one with the fix. Please tell me if you have others problems.

Note: Code is the same, i just apply a modify to content.js

noonotthat commented 1 year ago

@osaminagano Thank you so much! it worked, your the man!

Monkeymen1 commented 1 year ago

@osaminagano I tried the fix as you mentioned, but i keep having errors (I'm probably messing it up somewhere). Your link to the modified content.js file also doesn't seem to work anymore, could you post that again? Thanks for the help.

osaminagano commented 1 year ago

our link to the modified content.js file also doesn't seem to work anymore,

Hi,

I just try and it works. Can you please give me google logs? Or at least check in logs what is the error

BobBoh1 commented 1 year ago

@osaminagano I'm actually having the same problem as @Monkeymen1. I tryed fixing it manually without any results and the new link you gave us doesn't work... Could you please share it again?

Monkeymen1 commented 1 year ago

Hi, image this is the error i get.

And when i click on the link for the file it sais "No results matched your search."

The button does not show up on media.

noonotthat commented 1 year ago

Just go to his profile, he has the entire thing there to download. That's how I got it.

Monkeymen1 commented 1 year ago

Just go to his profile, he has the entire thing there to download. That's how I got it.

Tried that already, it's not on there. 7 repositories show up, none of them are bugfix-v1.

BobBoh1 commented 1 year ago

Just go to his profile, he has the entire thing there to download. That's how I got it.

Tried that already, it's not on there. 7 repositories show up, none of them are bugfix-v1.

Same here

noonotthat commented 1 year ago

Screen Shot 2023-01-14 at 7 34 51 PM

BobBoh1 commented 1 year ago

Screen Shot 2023-01-14 at 7 34 51 PM

I got that, is not fixing anythi for me... Am I suppsed to manually adjust it?

BobBoh1 commented 1 year ago

Uncaught TypeError: Cannot read properties of undefined (reading '2')

This is the error I got in 63

Motyldrogi commented 1 year ago

Hello Guys, @DeltaBoss has created an update containing the fix from @osaminagano Thank you!

You can just download the extension as usual now and it should be fixed. You can just replace the files in the extensions folder or better, to make sure everything works, just remove the extension delete the whole folder and reinstall

Waddelo commented 1 year ago

imdum No idea how I managed to get an error with the fix. It seems to only affect the post download button, opening the images and videos one by one and using the download button in the upper-left corner works.

Motyldrogi commented 1 year ago

@Waddelo I know what's the problem, i will fix it

Motyldrogi commented 1 year ago

@Waddelo Should be fixed, can you pls try again

Waddelo commented 1 year ago

@Motyldrogi Now the post download button downloads photos and videos in single file posts. For posts with multiple files it just opens the full view and the download button in the corner is purple instead of white.

Motyldrogi commented 1 year ago

@Waddelo So it works i guess, in multi file posts it is supposed to open it, because it is technically not possible to download all the files in the highest quality. You have to download each individually.

Waddelo commented 1 year ago

@Motyldrogi I thought I remembered it doing that before, my mistake. Cheers then it's fixed!

Motyldrogi commented 1 year ago

@Waddelo There is also a fansly scraper, which can download all the files from a user at once. They use an other approach as me, so there it's possible. It's a bit more complicated to install but it is described in the repository. https://github.com/Avnsx/fansly

osaminagano commented 1 year ago

I'll delete my repository since this one is update. Thank you so much guys for the collaboration! Is always great when people work togheter for a same goal haha