Commit Graph

10 Commits

Author SHA1 Message Date
Nick/Nelson ee04f8fef3
Fix weird https redirection downgrade bug
For some reason this endpoint occasionally sends a 302 redirect to an http image instead of https. >:(
Ideally this should be reverted back to using https at some point, but I can't reproduce this in any
browser, so I have no idea what exactly is causing it. Sometimes changing the referer works for specific
images, other times it doesn't. This isn't the most secure, but it should be the most reliable. Hopefully
whoever is mitm-ing you isn't concerned with what vsco profiles you're downloading.
2018-03-21 00:45:12 +00:00
Nick/Nelson 66a657baa2
New method of getting vs and site_id (now with less html regexing)
Old way broke due to their react rewrite
2017-12-15 18:44:23 +00:00
Nick/Nelson bed0a8e84f
In ruby we use snake case 2017-10-01 04:20:27 +00:00
Nick/Nelson 1d9d21cfce
Remove unnecessary variable 2017-10-01 03:33:00 +00:00
Nick/Nelson 320488f663
Only request 1000 images at a time to avoid timeouts 2017-10-01 03:30:57 +00:00
Nick/Nelson b53ff71f97
Add support for video posts 2017-09-21 00:05:49 +00:00
Nick/Nelson 233ebb78d8
Wait for account info to create the folder 2017-09-20 02:40:51 +00:00
Nick/Nelson 97cca39507
Use optparse to add command line options 2017-09-20 02:40:48 +00:00
Nick/Nelson 9055a1e0d0
Use File.join for building file paths 2017-09-20 02:40:42 +00:00
Nick/Nelson d32915b2da
Initial commit 2017-09-20 02:18:00 +00:00