Coder Social home page Coder Social logo

instaloader-docker's Introduction

Instaloader Docker

This is a Dockerfile to automatically build a new Docker for the official Instaloader. The Dockerfile will grab the latest release version that is available as a release on the Instaloader GitHub page

The official Instaloader Project: https://github.com/instaloader/instaloader

Installation

  1. Clone the Repository
  2. Edit the docker-compose.yml with your environment
  3. Run ./instaloader.sh to install Instaloader and to update the docker container

Usage

For full Instaloader usage, refer to their documentation here.

This docker image will allow you to pass "settings" and "profiles" arguments automatically.

The default for Docker would typically be /opt/instaloader/config The files to be created are: settings.txt profiles.txt

The settings file contains instaloader arguments. I recommend creating the file with at least the following arguments:

--login=myusername 
--sessionfile=/session-filename 
--stories
--highlights
--tagged
--fast-update

The profiles file contains a list of line seperated profiles or hashtags to scrape.

user1
user2
#hashtag1
#hashtag2
[etc]

Updating Session File & Profile List (Powershell)

You're probably running your Docker on a remote server.
You can use the included Powershell Script on your Windows PC to remotely update these automatically.

Requirements:

You must be running Docker on Linux
You must have Key Authentication setup for SSH (SFTP) (Key required in PPK format i.e PuTTyKeyGen)
Requires 615_import_firefox_session.py
Requires WinSCP installed and Windows PATH configured
Firefox Browser

Usage:

Download the instaloader.ps1 script to your Windows PC
Ensure you have all the requirements
Right click the script and edit the Variables section
Do not edit below the variables unless you know what you're doing
Run the Powershell script to update your sessions file and/or profile list

InstaloaderPS

instaloader-docker's People

Contributors

jarsky avatar

Watchers

 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.