-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script No Longer Works #32
Comments
I am getting this same error. |
Same error as OP. Hope this can be worked around |
Okay not just me, thought i had gotten IP blocked |
Yep, have same error |
I'm getting the same error |
yeah same here.. strange thing is that it already happened yesterday for a while. i usually let it run through a list of accounts and yesterday it already said |
Side note: could this possibly be related to Issue #31? |
The endpoints in use on this script, and most other non-selenium based scripts, are over 5 and a half years old. It is kind of a miracle that the original version of this script worked with minor revisions until now. The last time I added features here, I noticed that vsco did not appear to be using the endpoints any more. They have architected their website differently in the years since. This issue is happening because an important cookie "['vs']" is no longer being returned by that endpoint. That cookie is used in the endpoint from issue #31, which also appears to not exist anymore. I think it's unlikely that it is temporary that these apis are down, given that the website still works. For these scrapers to work again essentially involves rewriting their scripts to work with the new logic. |
Thanks for the update. Will this script be updated, or has it run its course? |
I left a pull request (#33) that seemed to work with VSCO's API changes. |
Thank you, SilverMight! I can confirm that those changes bring the script back to live. Kudos! |
as a complete beginner who is just learning the basics, could you explain how I can update the code? I previously used the VSCO Downloader executable file, but I was able to install the vsco-scraper package using the cmd line. Can you explain it to me like I'm 5 how I need to update to fix the script so it works properly? Thanks in advance |
I would run the following command |
With this method, updating via pip can only be done after PR #33 is merged. |
I'd remove your existing install for now (until it's updated) by doing |
🤦♂️, seems like I over thought it. It is cool to me all this works with minimal changes years later. Thanks @SilverMight for the PR, and @HuggableSquare for having done the heavy work months prior. The fixes are merged at this time on version 0.7 |
When running the script, this error now appears:
Traceback (most recent call last):
File "C:\Python310\Scripts\vsco-scraper-script.py", line 33, in
sys.exit(load_entry_point('vsco-scraper==0.65', 'console_scripts', 'vsco-scraper')())
File "C:\Python310\lib\site-packages\vscoscrape\vscoscrape.py", line 763, in main
scraper = Scraper(args.username)
File "C:\Python310\lib\site-packages\vscoscrape\vscoscrape.py", line 25, in init
self.uid = self.session.cookies.get_dict()["vs"]
KeyError: 'vs'
The text was updated successfully, but these errors were encountered: