Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Story Highlighter not found #825

Closed
ondrovic opened this issue Feb 2, 2023 · 18 comments
Closed

Story Highlighter not found #825

ondrovic opened this issue Feb 2, 2023 · 18 comments

Comments

@ondrovic
Copy link

ondrovic commented Feb 2, 2023

getting the following in the lastest version seems to just hang after

Error: {'code': 0, 'message': 'Story highlight not found.'}
@avekifes
Copy link

avekifes commented Feb 2, 2023

Same here.

@DIGITALCRIMINAL
Copy link
Owner

which user

@ondrovic
Copy link
Author

ondrovic commented Feb 3, 2023

it seems like it happens no matter which user I try

@avekifes
Copy link

avekifes commented Feb 3, 2023

I'm not seeing any users listed. I just see something like this:

Processing metadata.
Finished processing metadata.
Renaming files.
100%|████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<?, ?it/s]
Error: {'code': 0, 'message': 'messages?limit=10&offset=91&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=1&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=71&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=51&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=61&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=41&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=101&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=141&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=1&offset=0&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=11&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=121&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=21&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=31&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=131&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=111&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=81&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=151&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=161&order=desc not found'}
Processing Scraped Messages
100%|██████████████████████████████████████████████████████████████████████████████| 302/302 [00:00<00:00, 5806.44it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|██████████████████████████████████████████████████████████████████████████████| 323/323 [00:00<00:00, 3198.03it/s]
Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 68/68 [00:00<00:00, 4846.93it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|█████████████████████████████████████████████████████████████████████████████████| 77/77 [00:00<00:00, 221.23it/s]
Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 3749.94it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|█████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 989.29it/s]
Error: {'code': 0, 'message': 'Story highlight not found.'}

@adamperez
Copy link

Happening to me as well, only seen it with one user: remymeow

@ondrovic
Copy link
Author

ondrovic commented Feb 4, 2023

here is an example, just did a print(highlight.__dict__) around line 403

{'id': 613026, 'userId': 84519531, 'title': 'Life', 'coverStoryId': 16623493, 'cover': 'https://cdn2.onlyfans.com/files/3/32/32ff9c6adbbb583430a83775546d1186/300x300_8ed6607d51692c3c6fc5cda7e2df5e1f.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvM1wvMzJcLzMyZmY5YzZhZGJiYjU4MzQzMGE4Mzc3NTU0NmQxMTg2XC8zMDB4MzAwXzhlZDY2MDdkNTE2OTJjM2M2ZmM1Y2RhN2UyZGY1ZTFmLmpwZz9UYWc9MiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY3NTYxMTQ4Nn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIyNC4yNDEuNTMuMTY2XC8zMiJ9fX1dfQ__&Signature=IZP0tzHuuCWrQEf8aeEGNVlewSB~wD8du-gXp2oXVIYMNfb-KoY5FoHbqYngH5wUG3FgGHyJIbuDp1WR2gN9~oSVhEY4pN4Kd9j9-JJ-tGnq2cRDA5WntovinNYbHkMQxv9mEdkJvLLW39f5pzHaE5-bCYKINysPlzzvEKtjjHNLounT7t5LehMQX2o3w8NZp4HRVW2MEzGaxAKvrpAZny8KUXeSxcOC1hYnRstam0Mul4dyR85Dppa7mg-LR7Ibx9m51D~ZzhU9n5FCM5lVaAN1WZhYnL5RhprbBi39qun96AUSA9xl7T0Fi8gEAIoXZOaM36HXW~uBJYKxBC395w__&Key-Pair-Id=APKAJZU4IULC2OKULHGA', 'storiesCount': 10, 'createdAt': '2022-12-23T06:05:02+00:00', 'stories': None}
{'id': 375877, 'userId': 84519531, 'title': 'My legs', 'coverStoryId': 9739824, 'cover': 'https://cdn2.onlyfans.com/files/5/57/57183331c5ca8b64ab57b0e9cc166e5b/150x150_e2ce684df26144405b12942d0d8f833f_frame_0.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvNVwvNTdcLzU3MTgzMzMxYzVjYThiNjRhYjU3YjBlOWNjMTY2ZTViXC8xNTB4MTUwX2UyY2U2ODRkZjI2MTQ0NDA1YjEyOTQyZDBkOGY4MzNmX2ZyYW1lXzAuanBnP1RhZz0yIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjc1NjExNDg2fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjI0LjI0MS41My4xNjZcLzMyIn19fV19&Signature=UXbD8Fu5KVJL5ia~hfE3G7DUuhEAtXUIrgLbyvNpA~w-Xo4gs2MTZG4Dr5avJ8zZwNZDBiElp8i0J8XljVgo~lywPvdtCkRA91lPAVQbGsmdETMQbrCE0J6d5ftNWjcYeMibpVhD~Q-sycu5KBUVaSuj5EvJDpqZLbYLXfQLtsgnYKScklRh~8HOkK2B0ntVlHS8xa5NfGbGi62mz4-ohlLLnoQLyGaLiGAqkfWkNgBcTcBkhRCp~RcISOHnNb0UX8UpG-CnEXHuJQyw5GROdiapDO0dRwV9IJBCs9ak-0y2pD2qXu17uNMsKsURmyUY-ggt6y1JBDs9p25IsfkebA__&Key-Pair-Id=APKAJZU4IULC2OKULHGA', 'storiesCount': 2, 'createdAt': '2022-02-01T20:06:37+00:00', 'stories': None}
{'id': 562200, 'userId': 171576162, 'title': '💋', 'coverStoryId': 8814618, 'cover': None, 'storiesCount': 1, 'createdAt': '2022-10-21T15:09:24+00:00', 'stories': None}
Error: {'code': 0, 'message': 'Story highlight not found.'}

@DIGITALCRIMINAL
Copy link
Owner

DIGITALCRIMINAL commented Feb 5, 2023

here is an example, just did a print(highlight.__dict__) around line 403

{'id': 613026, 'userId': 84519531, 'title': 'Life', 'coverStoryId': 16623493, 'cover': 'https://cdn2.onlyfans.com/files/3/32/32ff9c6adbbb583430a83775546d1186/300x300_8ed6607d51692c3c6fc5cda7e2df5e1f.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvM1wvMzJcLzMyZmY5YzZhZGJiYjU4MzQzMGE4Mzc3NTU0NmQxMTg2XC8zMDB4MzAwXzhlZDY2MDdkNTE2OTJjM2M2ZmM1Y2RhN2UyZGY1ZTFmLmpwZz9UYWc9MiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY3NTYxMTQ4Nn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIyNC4yNDEuNTMuMTY2XC8zMiJ9fX1dfQ__&Signature=IZP0tzHuuCWrQEf8aeEGNVlewSB~wD8du-gXp2oXVIYMNfb-KoY5FoHbqYngH5wUG3FgGHyJIbuDp1WR2gN9~oSVhEY4pN4Kd9j9-JJ-tGnq2cRDA5WntovinNYbHkMQxv9mEdkJvLLW39f5pzHaE5-bCYKINysPlzzvEKtjjHNLounT7t5LehMQX2o3w8NZp4HRVW2MEzGaxAKvrpAZny8KUXeSxcOC1hYnRstam0Mul4dyR85Dppa7mg-LR7Ibx9m51D~ZzhU9n5FCM5lVaAN1WZhYnL5RhprbBi39qun96AUSA9xl7T0Fi8gEAIoXZOaM36HXW~uBJYKxBC395w__&Key-Pair-Id=APKAJZU4IULC2OKULHGA', 'storiesCount': 10, 'createdAt': '2022-12-23T06:05:02+00:00', 'stories': None}
{'id': 375877, 'userId': 84519531, 'title': 'My legs', 'coverStoryId': 9739824, 'cover': 'https://cdn2.onlyfans.com/files/5/57/57183331c5ca8b64ab57b0e9cc166e5b/150x150_e2ce684df26144405b12942d0d8f833f_frame_0.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvNVwvNTdcLzU3MTgzMzMxYzVjYThiNjRhYjU3YjBlOWNjMTY2ZTViXC8xNTB4MTUwX2UyY2U2ODRkZjI2MTQ0NDA1YjEyOTQyZDBkOGY4MzNmX2ZyYW1lXzAuanBnP1RhZz0yIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjc1NjExNDg2fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjI0LjI0MS41My4xNjZcLzMyIn19fV19&Signature=UXbD8Fu5KVJL5ia~hfE3G7DUuhEAtXUIrgLbyvNpA~w-Xo4gs2MTZG4Dr5avJ8zZwNZDBiElp8i0J8XljVgo~lywPvdtCkRA91lPAVQbGsmdETMQbrCE0J6d5ftNWjcYeMibpVhD~Q-sycu5KBUVaSuj5EvJDpqZLbYLXfQLtsgnYKScklRh~8HOkK2B0ntVlHS8xa5NfGbGi62mz4-ohlLLnoQLyGaLiGAqkfWkNgBcTcBkhRCp~RcISOHnNb0UX8UpG-CnEXHuJQyw5GROdiapDO0dRwV9IJBCs9ak-0y2pD2qXu17uNMsKsURmyUY-ggt6y1JBDs9p25IsfkebA__&Key-Pair-Id=APKAJZU4IULC2OKULHGA', 'storiesCount': 2, 'createdAt': '2022-02-01T20:06:37+00:00', 'stories': None}
{'id': 562200, 'userId': 171576162, 'title': '💋', 'coverStoryId': 8814618, 'cover': None, 'storiesCount': 1, 'createdAt': '2022-10-21T15:09:24+00:00', 'stories': None}
Error: {'code': 0, 'message': 'Story highlight not found.'}

It's because this user with an id of 171576162 doesn't exist anymore.
You can try figuring out their username by using print(subscription.username) after your highlight print

@ondrovic
Copy link
Author

ondrovic commented Feb 5, 2023

here is an example, just did a print(highlight.__dict__) around line 403

{'id': 613026, 'userId': 84519531, 'title': 'Life', 'coverStoryId': 16623493, 'cover': 'https://cdn2.onlyfans.com/files/3/32/32ff9c6adbbb583430a83775546d1186/300x300_8ed6607d51692c3c6fc5cda7e2df5e1f.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvM1wvMzJcLzMyZmY5YzZhZGJiYjU4MzQzMGE4Mzc3NTU0NmQxMTg2XC8zMDB4MzAwXzhlZDY2MDdkNTE2OTJjM2M2ZmM1Y2RhN2UyZGY1ZTFmLmpwZz9UYWc9MiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY3NTYxMTQ4Nn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIyNC4yNDEuNTMuMTY2XC8zMiJ9fX1dfQ__&Signature=IZP0tzHuuCWrQEf8aeEGNVlewSB~wD8du-gXp2oXVIYMNfb-KoY5FoHbqYngH5wUG3FgGHyJIbuDp1WR2gN9~oSVhEY4pN4Kd9j9-JJ-tGnq2cRDA5WntovinNYbHkMQxv9mEdkJvLLW39f5pzHaE5-bCYKINysPlzzvEKtjjHNLounT7t5LehMQX2o3w8NZp4HRVW2MEzGaxAKvrpAZny8KUXeSxcOC1hYnRstam0Mul4dyR85Dppa7mg-LR7Ibx9m51D~ZzhU9n5FCM5lVaAN1WZhYnL5RhprbBi39qun96AUSA9xl7T0Fi8gEAIoXZOaM36HXW~uBJYKxBC395w__&Key-Pair-Id=APKAJZU4IULC2OKULHGA', 'storiesCount': 10, 'createdAt': '2022-12-23T06:05:02+00:00', 'stories': None}
{'id': 375877, 'userId': 84519531, 'title': 'My legs', 'coverStoryId': 9739824, 'cover': 'https://cdn2.onlyfans.com/files/5/57/57183331c5ca8b64ab57b0e9cc166e5b/150x150_e2ce684df26144405b12942d0d8f833f_frame_0.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvNVwvNTdcLzU3MTgzMzMxYzVjYThiNjRhYjU3YjBlOWNjMTY2ZTViXC8xNTB4MTUwX2UyY2U2ODRkZjI2MTQ0NDA1YjEyOTQyZDBkOGY4MzNmX2ZyYW1lXzAuanBnP1RhZz0yIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjc1NjExNDg2fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjI0LjI0MS41My4xNjZcLzMyIn19fV19&Signature=UXbD8Fu5KVJL5ia~hfE3G7DUuhEAtXUIrgLbyvNpA~w-Xo4gs2MTZG4Dr5avJ8zZwNZDBiElp8i0J8XljVgo~lywPvdtCkRA91lPAVQbGsmdETMQbrCE0J6d5ftNWjcYeMibpVhD~Q-sycu5KBUVaSuj5EvJDpqZLbYLXfQLtsgnYKScklRh~8HOkK2B0ntVlHS8xa5NfGbGi62mz4-ohlLLnoQLyGaLiGAqkfWkNgBcTcBkhRCp~RcISOHnNb0UX8UpG-CnEXHuJQyw5GROdiapDO0dRwV9IJBCs9ak-0y2pD2qXu17uNMsKsURmyUY-ggt6y1JBDs9p25IsfkebA__&Key-Pair-Id=APKAJZU4IULC2OKULHGA', 'storiesCount': 2, 'createdAt': '2022-02-01T20:06:37+00:00', 'stories': None}
{'id': 562200, 'userId': 171576162, 'title': '💋', 'coverStoryId': 8814618, 'cover': None, 'storiesCount': 1, 'createdAt': '2022-10-21T15:09:24+00:00', 'stories': None}
Error: {'code': 0, 'message': 'Story highlight not found.'}

It's because this user with an id of 171576162 doesn't exist anymore. You can try figuring out their username by using print(subscription.username) after your highlight print

It appears it's this user lissaasaiiitt who is not even listed in my subscription list

Edit on this: I tried add said user to block list, still fails :-(, I did check seems like that user doesn't exist on OF anymore, maybe there needs to be an extra check to see if those profiles exist, before trying to scrape. Or maybe its caching that somewhere else 🤷‍♂️

@avekifes
Copy link

avekifes commented Feb 5, 2023

Account names are now showing for me...

Download Processing
Name: surfwithclaire | Type: Messages | Count: 1 | Directory: Y:\OnlyFans

Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<?, ?it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|██████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 3997.43it/s]
Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 5998.29it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|██████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 4999.17it/s]
Error: {'code': 0, 'message': 'messages?limit=10&offset=101&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=11&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=61&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=31&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=51&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=21&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=41&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=71&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=91&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=121&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=131&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=1&offset=0&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=141&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=1&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=111&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=81&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=161&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=151&order=desc not found'}
Processing Scraped Stories
100%|████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<?, ?it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|███████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 999.60it/s]
Error: {'code': 0, 'message': 'messages?limit=1&offset=0&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=1&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=21&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=41&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=51&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=141&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=31&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=91&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=71&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=131&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=111&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=81&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=11&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=101&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=121&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=61&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=151&order=desc not found'}
Error: {'code': 0, 'message': 'messages?limit=10&offset=161&order=desc not found'}
Scrape Attempt: 1/100
Processing Scraped Stories
100%|████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<?, ?it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|██████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 1999.19it/s]
Processing Scraped Messages
100%|██████████████████████████████████████████████████████████████████████████████| 296/296 [00:00<00:00, 5675.05it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|███████████████████████████████████████████████████████████████████████████████| 324/324 [00:00<00:00, 835.48it/s]
Download Processing
Name: playhousefans | Type: Stories | Count: 1 | Directory: Y:\OnlyFans

Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 59/59 [00:00<00:00, 4538.46it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|████████████████████████████████████████████████████████████████████████████████| 78/78 [00:00<00:00, 1772.73it/s]
Download Processing
Name: officialgraciefree | Type: Messages | Count: 1 | Directory: Y:\OnlyFans

Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 3333.40it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 1034.07it/s]
Error: {'code': 0, 'message': 'Story highlight not found.'}

...but is officialgraciefree the account that's halting the script? The spacing seems to suggest that it's someone else...

I also find it interesting how "message" errors don't stop the script, while story errors do.

@avekifes
Copy link

avekifes commented Feb 8, 2023

print(highlight.__dict__)
print(subscription.username)

....can someone explain how I use these functions?

@ondrovic
Copy link
Author

ondrovic commented Feb 8, 2023

print(highlight.__dict__) print(subscription.username)

....can someone explain how I use these functions?

you would put them inside the relevant function (line 403 or so) and then run the start_us.py it will then display in those values right before it breaks

image

@avekifes
Copy link

print(highlight.__dict__) print(subscription.username)
....can someone explain how I use these functions?

you would put them inside the relevant function (line 403 or so) and then run the start_us.py it will then display in those values right before it breaks

image

Weird, this doesn't seem to be working for me. (I just get Error: {'code': 0, 'message': 'Story highlight not found.'} when the script stalls.)

Are there any changes I should be making beyond those two lines in OnlyFans-master\modules\onlyfans.py?

@IanSteg
Copy link

IanSteg commented Feb 11, 2023

Weird, this doesn't seem to be working for me. (I just get Error: {'code': 0, 'message': 'Story highlight not found.'} when the script stalls.)

Are there any changes I should be making beyond those two lines in OnlyFans-master\modules\onlyfans.py?

Works for me. You should see something like this:

{'id': 396555, 'userId': 215029729, 'title': '👧👧👧', 'coverStoryId': 10385020, 'cover': None, 'storiesCount': 1, 'createdAt': '2022-03-06T18:23:33+00:00', 'stories': None}
tefasanchez16
Error: {'code': 0, 'message': 'Story highlight not found.'}

@avekifes
Copy link

avekifes commented Feb 11, 2023

I'm at a total loss then.

How my onlyfans.py looks:

async def get_all_stories(self, subscription: create_user):
master_set: list[create_highlight | create_story] = []
master_set.extend(await subscription.get_stories())
master_set.extend(await subscription.get_archived_stories())
highlights = await subscription.get_highlights()
valid_highlights: list[create_highlight | create_story] = []
for highlight in highlights:
print(highlight.__dict__)
print(subscription.username)
highlight = await subscription.get_highlights(hightlight_id=highlight.id)
valid_highlights.extend(highlight)
master_set.extend(valid_highlights)
return master_set

What I get when the script hangs:

Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 79/79 [00:00<00:00, 4646.87it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|████████████████████████████████████████████████████████████████████████████████| 78/78 [00:00<00:00, 1733.34it/s]
Processing Scraped Messages
100%|████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 3750.16it/s]
Processing metadata.
Finished processing metadata.
Renaming files.
100%|████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 1000.43it/s]
Error: {'code': 0, 'message': 'Story highlight not found.'}

Is it possible that my Python installation (Windows) is set up incorrectly?

@ondrovic
Copy link
Author

This seems to be happening when it gets to the Processing metadata step, up to that point is only processing for the selected user, but once it gets to that step it tries a different user, which in my case the user has been deleted hence the Story highlight not found assuming that it is trying to process any user that has metadata and it fails. There needs to be some sort of check to stop this or only process the active subscriptions as opposed to all

@avekifes
Copy link

I got desperate and ended up deleting that entire part of the script from onlyfans.py, but I still ran into the same error.

Just to be sure, deleting all of my existing metadata folders would NOT be a solution, correct?

@DIGITALCRIMINAL
Copy link
Owner

I got desperate and ended up deleting that entire part of the script from onlyfans.py, but I still ran into the same error.

Just to be sure, deleting all of my existing metadata folders would NOT be a solution, correct?

It's never the solution to delete metadata.

I pushed an update, it'll probably fix the problem.

@ondrovic
Copy link
Author

I don't see the highlighter issue atm going to close this for now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants