Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Loopvid userscripts for downloading images
- Hidden links to originals
- -------------------------
- Many Korean websites serve lower resolution pics on their pages, while making
- the original pics available at separate urls. This is the case for virtually
- all tistories, and also for many news sites. The following userscript can be
- used to convert those lower res links into links to the original images, which
- can then be downloaded with downthemall.
- https://gitlab.com/loopvid/scripts/blob/master/userscripts/add_hidden_links_to_originals.user.js
- (raw link for adding it to greasemonkey:
- https://gitlab.com/loopvid/scripts/raw/master/userscripts/add_hidden_links_to_originals.user.js )
- Guide to selecting the original links for download:
- https://i.imgur.com/sQHBmms.png (download star)
- uget guide for tistory:
- https://i.imgur.com/QIdkyOE.png
- Currently, firefox quantum won't let extensions use filenames defined in the
- Content-Disposition header, which is what tistory uses, so Download Star won't
- know how to name files properly.
- https://i.imgur.com/ZGXcayZ.png
- See: https://github.com/marklieberman/downloadstar/wiki/Naming-Mask-Expression-Guide
- If a tistory is not included already in the script, you can add it as a user
- included page, e.g. http://newtistory.com/*
- Guide to adding a user included page:
- https://i.imgur.com/fA3DFVd.png (greasemonkey)
- https://i.imgur.com/fySm4Tm.png (tampermonkey)
- You can also use http://* to run on all http pages or * to run on all pages.
- Redirect downscaled images to originals
- ---------------------------------------
- For most of the sites supported by the hidden links script described above,
- it's possible to be redirected from a lower resolution image into its original
- url. The follow script does exactly that, which allows you to open those
- downscaled pics in a new tab and have the original pic load up instead.
- https://gitlab.com/loopvid/scripts/blob/master/userscripts/redirect_image_to_original.user.js
- (raw link for adding it to greasemonkey:
- https://gitlab.com/loopvid/scripts/raw/master/userscripts/redirect_image_to_original.user.js )
- Rename URL-quoted filenames into hangul
- ---------------------------------------
- Tistory will often serve filenames that look something like this:
- 121513_%EC%95%84%EC%9D%B4%EC%9C%A0%EC%BD%98%EC%84%9C%ED%8A%B8_22_by%EB%B2%84%EC%B9%BC%EB%A6%AC.jpg
- This is just utf-8 hangul that has been quoted for inclusion in the http
- headers. The following script renames those files unquoting the hangul.
- https://gitlab.com/loopvid/scripts/blob/master/python/tk/rename_url_quoted_gui.py
- If you're running windows, you'll need to install python before you can run
- this script.
- https://www.python.org/downloads/
- Make sure to install the latest version of Python 3 (and not 2.7). After that,
- double clicking the script and telling windows to open it with python should
- run it.
- A command-line version of the script is also available, if you prefer that.
- https://gitlab.com/loopvid/scripts/blob/master/python/rename_url_quoted.py
- Saving instagram images and videos by right-clicking
- ----------------------------------------------------
- The following script exposes instagram images and videos so you can right click
- and use "save as..." normally.
- https://gitlab.com/loopvid/scripts/blob/master/userscripts/instagram_replace_images_and_videos.user.js
- (raw link for adding it to greasemonkey:
- https://gitlab.com/loopvid/scripts/raw/master/userscripts/instagram_replace_images_and_videos.user.js )
- If you prefer to expose only the images and leave the videos as-is, you can use
- this version:
- https://gitlab.com/loopvid/scripts/blob/master/userscripts/instagram_replace_images_only.user.js
- (raw link:
- https://gitlab.com/loopvid/scripts/raw/master/userscripts/instagram_replace_images_only.user.js )
- Other userscripts that you might find useful can be found at
- https://gitlab.com/loopvid/scripts/tree/master/userscripts
Add Comment
Please, Sign In to add comment