Coder Social home page Coder Social logo

memeinsider-dl's Introduction

memeinsider-dl

A script to download Meme Insider issues

Installation

git clone https://github.com/flomk/memeinsider-dl $HOME/.memeinsider-dl
echo PATH="$HOME/.memeinsider-dl:${PATH}" >> ~/.zshrc
source ~/.zshrc

Usage

memeinsider-dl -h

                                  _            _     __                    ____
   ____ ___  ___  ____ ___  ___  (_)___  _____(_)___/ /__  _____      ____/ / /
  / __ `__ \/ _ \/ __ `__ \/ _ \/ / __ \/ ___/ / __  / _ \/ ___/_____/ __  / /
 / / / / / /  __/ / / / / /  __/ / / / (__  ) / /_/ /  __/ /  /_____/ /_/ / /
/_/ /_/ /_/\___/_/ /_/ /_/\___/_/_/ /_/____/_/\__,_/\___/_/         \__,_/_/


usage: memeinsider-dl [-h] [-i URL | -u | -l]

Usage: memeinsider-dl [URL]

optional arguments:
-h, --help           show this help message and exit
-i URL, --issue URL  url of issue to download
-u, --upload         upload to cloud storage
-l, --latest         get the latest issue

TODO

  • Add option to download the latest issue
  • Add option to upload to google drive
  • Add option to upload to Dropbox
  • Make the code less ugly

memeinsider-dl's People

Contributors

flomk avatar

Stargazers

 avatar

Watchers

 avatar

memeinsider-dl's Issues

Doesn't work

Doing

./memeinsider-dl -l

or

./memeinsider-dl -i https://memeinsider.com/releases/the-scp-reveals-its-secrets

results in a 404.

Updated method

We will assume the targeted issue is https://memeinsider.com/releases/the-scp-reveals-its-secrets.

  • The relevant data is at : https://memeinsider.com/page-data/releases/the-scp-reveals-its-secrets/page-data.json
  • In page-data.json, result.data.s3Object.Url gives a direct download URL of the PDF : https://s3.amazonaws.com/cdn.memeinsider.com/releases/the-scp-reveals-its-secrets.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.