Coder Social home page Coder Social logo

j3n50m4t / docker-instaloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from di-dc/docker-instaloader

0.0 0.0 0.0 30 KB

Docker image with Instaloader

Home Page: https://hub.docker.com/r/didc/docker-instaloader/

Shell 54.16% Dockerfile 45.84%

docker-instaloader's Introduction

docker-instaloader

Docker image with instaloader in it. See instaloader/instaloader for more info.

Some of this was inspired by shyd/docker-instagram-scraper, another good option for Instagram archiving.

Instaloader versions

I do my best to keep this updated whenever there is a release of Instaloader. Going forward, I plan to create a new tag for each Instaloader release version.

didc/docker-instaloader:latest -- latest official release version

didc/docker-instaloader:a.b.c -- version a.b.c. For example, alpha v4.3a1 can be pulled via: docker pull didc/docker-instaloader:4.3a1

Full list of available tags

Usage

For full Instaloader usage, refer to their great documentation here.

One of the goals of this docker image is to allow you to pass a list of args and targets to Instaloader.

Create a file with a list of arguments to be passed on to Instaloader -- this can be named anything you want locally, but should be passed to the container as il_args.txt. At a minimum, I recommend using the --login=my_username and --sessionfile arguments. For example, my file currently contains the following:

--login=my_username 
--sessionfile=instaloader.sessionfile 
--geotags
--fast-update

Create a file with a list of targets to be downloaded -- again, this can be named anything you want locally, but should be passed to the container as il_targets.txt. Per Instaloader's documentation: a "target is a profile, a "#hashtag", @profile (all profiles that profile is following), or if logged in :feed (pictures from your feed), :stories (stories of your followees) or :saved (collection of posts marked as saved)". The targets should be separated by newlines or spaces.

user_1
user_2
#hashtag_1
[etc]

Then you can run a new container, passing those files to it:

docker run --name instaloader -it \
    -v $(pwd)\download:/download 
    -v $(pwd)\il_args.txt:/il_args.txt 
    -v $(pwd)\il_targets.txt:/il_targets.txt 
    didc/docker-instaloader

By default, media will be downloaded to ./download/[target]. The folder/file structure can be modified via Instaloader arguments using --dirname-pattern or --filename-pattern.

Disclaimer

This docker image is in no way affiliated with, authorized, maintained or endorsed by Instaloader or by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial project. Use at your own risk.

There's a decent chance it doesn't enable you to use all Instaloader functionality, though I've done my best.

docker-instaloader's People

Contributors

di-dc avatar wseng avatar

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.