Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Executable randomly closes; due to being Rate Limited #56

Closed
RobertoJKN opened this issue Dec 3, 2022 · 9 comments
Closed

Executable randomly closes; due to being Rate Limited #56

RobertoJKN opened this issue Dec 3, 2022 · 9 comments
Labels
bug Something isn't working solved

Comments

@RobertoJKN
Copy link

I leave it running in the background and after some downloads it simply closes (it's far from having downloaded everything). I'm using Windows 11 and set it to run as admin (without admin it also would close after a bit)

@RobertoJKN
Copy link
Author

Managed to screenshot the error before it closed the program.
PotPlayerMini64_twQkAnZmHr

@Avnsx
Copy link
Owner

Avnsx commented Dec 3, 2022

You're being rate limited by the fansly API. After a dozen of requests they eventually just forcefully close the connection.

Most likely that rate limit was newly introduced, might've to update fansly scraper to counter that soon.

Maybe try using a VPN and see if that helps

@RobertoJKN
Copy link
Author

You're being rate limited by the fansly API. After a dozen of requests they eventually just forcefully close the connection.

Most likely that rate limit was newly introduced, might've to update fansly scraper to counter that soon.

Maybe try using a VPN and see if that helps

Will try a VPN then, thanks for the quick response.

@Avnsx
Copy link
Owner

Avnsx commented Dec 3, 2022

If that doesn't help you can also just continue the download from the point it shutdowned at, by setting update_recent_download to True

https://github.com/Avnsx/fansly/wiki/Explanation-of-provided-programs-&-their-functionality#4-configini

#16

@RobertoJKN
Copy link
Author

Using a VPN fixed it

@Avnsx
Copy link
Owner

Avnsx commented Dec 4, 2022

Nice, guess we can call it a day here

Star the repo to support it

@Avnsx
Copy link
Owner

Avnsx commented Dec 23, 2022

@RobertoJKN
Hey sorry to bother you one more time, but I have a question, how much internet download speed do you have?
You can test it here: https://www.speedtest.net/

And do you maybe know if you have a SSD or HDD drive?

Also is this happening for you, everytime you're not using the VPN?

Do you have python set up and would you mind helping me debugging fansly scraper and possibly fix this rate limiting issue, based on your feedback?

Can you try the new python version of fansly scraper and let me know if my changes:

https://github.com/Avnsx/fansly/blob/f27724280d5eac8eb4bfad5cc2f21f4eb7231c85/fansly_scraper.py#L418-L428

are usefull at all!

@Avnsx Avnsx reopened this Dec 23, 2022
@Avnsx Avnsx changed the title executable randomly closes Executable randomly closes; due to being Rate Limited Dec 23, 2022
@Avnsx Avnsx added bug Something isn't working investigating currently looking into this issue labels Dec 23, 2022
Avnsx added a commit that referenced this issue Dec 23, 2022
+ Fixed bug regarding video hashing @ #58
+ Added function to set a custom download directory
+ Did the first attempt to deal with rate limiting and located error source @ #56
+ ``Datepost`` is now going to be called ``Date_posted``, added old config.ini value to be overwritten automatically
+ variable ``basedir`` is now renamed to the constant ``BASE_DIR_NAME``
+ Grammar fixes for various output text
@Avnsx
Copy link
Owner

Avnsx commented May 8, 2023

Most likely fixed in b30a65d

@Avnsx Avnsx closed this as completed May 8, 2023
@Avnsx
Copy link
Owner

Avnsx commented May 8, 2023

Most likely fixed in b30a65d

@Avnsx Avnsx closed this as completed May 8, 2023
@Avnsx Avnsx added solved and removed investigating currently looking into this issue labels May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working solved
Projects
None yet
Development

No branches or pull requests

2 participants