diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-04-24 12:43:48 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-04-24 12:43:48 -0700 |
commit | e969500d6396545a1e39e554306023c95f856717 (patch) | |
tree | f548b681e1bb376b516f2441c620219d6cdec8c7 /README.md | |
parent | 1f0b8be3756cc52f3c911735dbc15f4063e133d2 (diff) | |
download | els-instawiki-e969500d6396545a1e39e554306023c95f856717.tar.gz els-instawiki-e969500d6396545a1e39e554306023c95f856717.zip |
updates
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -2,6 +2,32 @@ Want to download all ELS instagram photos, with at least date metadata, then re-upload to wiki.mako.cc (or some other location). +## Setup + +You will need bot credentials for `wiki.mako.cc`; you can get these from a +special "bot password" page. The bot needs to be able to create images and +pages. Copy `./example.env` to `.env` and edit the lines for username and +password; put the bot info in, not your regular account info. + +Using `pipenv` to generate a python virtualenv: + + pipenv shell + pip install instaloader requests + +First time you run the instaloader download, it is like: + + instaloader profile --no-compress-json extraordinaryleastsquares + +then for updates: + + instaloader --fast-update --no-compress-json extraordinaryleastsquares + +## Re-Upload All + + pipenv run ./update.sh + + ls extraordinaryleastsquares/2020-0*.json | parallel -j1 ./reupload.py {} + ## Experimentation Using `pipenv` to generate a python virtualenv: |