onlyfans-dl icon indicating copy to clipboard operation
onlyfans-dl copied to clipboard

path.rfind is NoneType

Open manik002 opened this issue 3 years ago • 5 comments

Hi, first thank you a lot I have been able to use the script for an account. I'm trying again with another one and getting this error:

Traceback (most recent call last): File "c:/Users/.../script.py", line 256, in <module> download_public_files() File "c:/Users/.../script.py", line 118, in download_public_files id = get_id_from_path(source) File "c:/Users/.../script.py", line 159, in get_id_from_path last_index = path.rfind("/") AttributeError: 'NoneType' object has no attribute 'rfind'

I get correctly authenticated and the folder structure gets created. This appears after downloading the avatar.

manik002 avatar Mar 08 '21 19:03 manik002

Same.. I have that issue too

adibclone avatar Mar 09 '21 00:03 adibclone

I've found that someone I know to have changed their name doesn't work but someone else who hasn't changed their name works fine.

javitab avatar Mar 10 '21 15:03 javitab

I don't know how to reproduce this. May anyone of you post a name in here that does not work and throws this error. It can be any since the public files should work even if I don't sub in.

cptpiepmatz avatar Mar 16 '21 00:03 cptpiepmatz

The user I was working with was neongenesexxt. Name was formerly neongenesext. As I recall, it created the folder structure, but there was no data. I also tried using the profile number, but no luck. hungtwinks also caused an issue. Something about something was too long.

On Mon, Mar 15, 2021 at 8:56 PM Piepmatz @.***> wrote:

I don't know how to reproduce this. May anyone of you post a name in here that does not work and throws this error. It can be any since the public files should work even if I don't sub in.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/k0rnh0li0/onlyfans-dl/issues/50#issuecomment-799862633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRP2VO36ILZG3KDYZVAD5TTD2UEXANCNFSM4Y2AYHBQ .

javitab avatar Mar 16 '21 11:03 javitab

I checked. It seems it has nothing to do with a changed name. I just did not check for missing public files. Take a look at my branch. Download the .py from there and try it.

cptpiepmatz avatar Mar 16 '21 23:03 cptpiepmatz