UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

NoneType' object does not support item assignment

Open Tileki opened this issue 5 years ago • 24 comments

someone also has this problem?

Sem título

I'm not a creator. pip install --upgrade --user -r requirements.txt (done) Python version 3.9.4

Tileki avatar Jun 21 '21 14:06 Tileki

Does it do this every time or just this once? It looks to me like it doesn't have a valid session and it isn't set to raise an exception if it fails or has NoneType.

taux1c avatar Jun 21 '21 23:06 taux1c

Everytime. I deleted everything and changed the cookie and nothing.

Tileki avatar Jun 22 '21 00:06 Tileki

Try using https://github.com/M-rcus/OnlyFans-Cookie-Helper to create your session info and see if you still have the issue.

taux1c avatar Jun 22 '21 23:06 taux1c

yes, i'm already using it. Firefox and Chrome, nothing changed.

Tileki avatar Jun 23 '21 00:06 Tileki

am getting exactly the same error as OP for a couple of days now, running latest build, no requirements to install, have tried fresh auth file numerous times, no issue logging into OF via Chrome.

I am using a google account for auth with OF.

also, mac os x 11.4, python Python 3.9.5 installed via Brew, everything up-to-date

mrb1ll avatar Jun 24 '21 13:06 mrb1ll

Are you a creator?

UltimaHoarder avatar Jun 24 '21 20:06 UltimaHoarder

i am not

mrb1ll avatar Jun 24 '21 22:06 mrb1ll

ok so it looks like it's an issue with using sign in with gmail

created a new OF account with user/password, scrape works

so auth issue?

mrb1ll avatar Jun 25 '21 03:06 mrb1ll

I don't know, but i am not using a google account for auth with OF and have this problem.

Tileki avatar Jun 25 '21 12:06 Tileki

I'm also having this issue occasionally; still haven't found an exact step to reproduce it. My OF account is linked to Google and Twitter, but I don't use any of them for authenticating. However, I do follow 1k+ creators, and the script seems to throw me this error around the 3rd or 4th creator on a download sequence. Is that somehow related to the way OF deals with user sessions?

hammerheaddf avatar Jun 25 '21 16:06 hammerheaddf

something else is going on. on both OF accounts via browser I no longer see media for any model

mrb1ll avatar Jun 25 '21 16:06 mrb1ll

Update script

UltimaHoarder avatar Jun 27 '21 04:06 UltimaHoarder

I got the last commit (f077e30) and the error continues. :( See below. Sem título

Tileki avatar Jun 27 '21 12:06 Tileki

Have you tried running the docker version?

I can't get the stand alone version to work but I can upload a docker image that you can pull if you want to try it.

taux1c avatar Jun 27 '21 22:06 taux1c

haven't tested. sound good, can you send me?

Tileki avatar Jun 28 '21 01:06 Tileki

Just updated. Running standalone on python 3.9.5 on Raspbian 64-bit, still getting the same errors as well.

hammerheaddf avatar Jun 28 '21 18:06 hammerheaddf

Funny. ! have precisely 1076 "scrapable" subscriptions (blacklisted creators obviously not counted). My 4 GB RPi running python 3.9.5 under Raspbian 64-bit throws that error right after welcoming me. My 16 GB Windows 10 box running python 3.9.6 runs the thing like a champ. How do we narrow this issue down to a memory or an OS problem?

hammerheaddf avatar Jun 28 '21 20:06 hammerheaddf

I also managed to run perfectly on Windows10x64. LOL If anyone knows how to solve the problem, put it here, please.

Tileki avatar Jun 29 '21 14:06 Tileki

For the time being I reverted my main account to release 7.3. My backup account, with only 8 subs, runs smoothly on the latest release.

hammerheaddf avatar Jul 01 '21 20:07 hammerheaddf

haven't tested. sound good, can you send me?

I can, honestly you can too, the dockerfile is included.

Just install docker ( on debian based systems its "apt install -y docker.io"

then copy and paste the docker command in the instructions on the main page.

be sure to set the .settings/config.json & .profiles/onlyfans/default/auth.json

The content will be saved at .sites/onlyfans unless you change it.

I have now set it so that the system runs the docker container as a cronjob every hour.

taux1c avatar Jul 02 '21 01:07 taux1c