jordon31 / OnlySnap

Scrape content from OnlyFans #onlyfans -- #of-scr -- #onlyfans scrape -- #onlyfans-dl -- OnlyFans content downloader -- #of scrap -- #onlysnap
68 stars 10 forks source link

An error has occurred: 'str' object does not support item assignment #35

Closed EvilBlood closed 7 months ago

EvilBlood commented 10 months ago

Since the update I get the following error:

An error has occurred: 'str' object does not support item assignment Traceback (most recent call last): File "G:\OF\OF-SCR\OnlySnap.py", line 816, in SELECTED_MODELS = select_sub() File "G:\OF\OF-SCR\OnlySnap.py", line 294, in select_sub SUBS = get_subs() File "G:\OF\OF-SCR\OnlySnap.py", line 273, in get_subs sub['type'] = 'Payed' TypeError: 'str' object does not support item assignment

Please try again.

this loops until I cancel the program.

Mspilotti commented 10 months ago

i have the same error.

cgg520449 commented 10 months ago

i have the same error.

cgg520449 commented 10 months ago

Since the update I get the following error:

An error has occurred: 'str' object does not support item assignment Traceback (most recent call last): File "G:\OF\OF-SCR\OnlySnap.py", line 816, in SELECTED_MODELS = select_sub() File "G:\OF\OF-SCR\OnlySnap.py", line 294, in select_sub SUBS = get_subs() File "G:\OF\OF-SCR\OnlySnap.py", line 273, in get_subs sub['type'] = 'Payed' TypeError: 'str' object does not support item assignment

Please try again.

this loops until I cancel the program.

OnlySnap.py
808---> Change THIS "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json"

EvilBlood commented 10 months ago

Since the update I get the following error: An error has occurred: 'str' object does not support item assignment Traceback (most recent call last): File "G:\OF\OF-SCR\OnlySnap.py", line 816, in SELECTED_MODELS = select_sub() File "G:\OF\OF-SCR\OnlySnap.py", line 294, in select_sub SUBS = get_subs() File "G:\OF\OF-SCR\OnlySnap.py", line 273, in get_subs sub['type'] = 'Payed' TypeError: 'str' object does not support item assignment Please try again. this loops until I cancel the program.

OnlySnap.py 808---> Change THIS "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json"

worked, thank you

spankmonkey69 commented 10 months ago

Since the update I get the following error: An error has occurred: 'str' object does not support item assignment Traceback (most recent call last): File "G:\OF\OF-SCR\OnlySnap.py", line 816, in SELECTED_MODELS = select_sub() File "G:\OF\OF-SCR\OnlySnap.py", line 294, in select_sub SUBS = get_subs() File "G:\OF\OF-SCR\OnlySnap.py", line 273, in get_subs sub['type'] = 'Payed' TypeError: 'str' object does not support item assignment Please try again. this loops until I cancel the program.

OnlySnap.py 808---> Change THIS "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json"

I'm having this same error, i have nothing on line 808 in onlysnap.py, and when i paste this in, it wont run at all, what can i do?

EDIT: It seems the files i had were 3 days out of date, the latest files allowed me to edit correctly and it now works!

jdown1 commented 10 months ago

Hi,

The lines are below, but what needs to be changed? Only the URL?

808 dynamic_rules = requests.get( 809 'https://raw.githubusercontent.com/DIGITALCRIMINALS/dynamic-rules/main/onlyfans.json').json()

I've tried changing 809 to: 'https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json').json() "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json").json() "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json") But still get the same error, please advice

spankmonkey69 commented 10 months ago

Hi,

The lines are below, but what needs to be changed? Only the URL?

808 dynamic_rules = requests.get( 809 'https://raw.githubusercontent.com/DIGITALCRIMINALS/dynamic-rules/main/onlyfans.json').json()

I've tried changing 809 to: 'https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json').json() "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json").json(.json()) "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json") But still get the same error, please advice

Download the current version, line 808 will have a URL, just replace it and it will work. I had issues as i didnt have the latest copy, once i got the latest one, its all good

vanssen commented 10 months ago

Hello, someone has managed to get it to work, I have followed the instructions but it still gives the same error

cgg520449 commented 10 months ago

dynamic_rules = requests.get('https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json').json()

Hi,

The lines are below, but what needs to be changed? Only the URL?

808 dynamic_rules = requests.get( 809 'https://raw.githubusercontent.com/DIGITALCRIMINALS/dynamic-rules/main/onlyfans.json').json()

I've tried changing 809 to: 'https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json').json() "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json").json(.json()) "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json") But still get the same error, please advice

808: only one link:

Snipaste_2024-01-12_13-54-16

dynamic_rules = requests.get('https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json').json()

and

updata your "Auth.json"

jordon31 commented 7 months ago

hi all guys.. i'm updating this script.. wait new update