GithubHelp home page GithubHelp logo

hegerdes / jodelcitydownloader Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 68 KB

Downloads all Pics form Jodelcity.com -- UPDATE The website doesn't exist anymore

Home Page: https://www.jodelcity.com/1234

Python 98.41% Dockerfile 1.59%

jodelcitydownloader's Introduction

PicDownloader for Jodel.City

Python Script to Download Pictures and Videos

NOTE: NO RESPONSIBILITY FOR THE SITE CONTENT

IMPORTANT

Only Testet on LINUX with Python 3.7

This provides a script to download all pictues on Minus. The website heavy uses JavaScript to prevent downloading. So this scripts automatically visits all the channels and downloads the Pics.

Supported are jpg pictures and mp4 video.

To work all below packages must be installed and the Chrome or Firefox webdriver. The driver must be in your PATH. (Chrome is much faster)

How to use

Native

  • download the Webdriver for Chrome (http://chromedriver.chromium.org/downloads) or Firefox (https://github.com/mozilla/geckodriver/releases).
  • Put the location of the driver in your PATH or specify the driver location in the source code.
  • Download and install Python3 and pip
  • Put both Python and pip in your PATH
  • Use pip install [Name] to install
    1. requests
    1. selenium
    1. urllib3
    1. emoji
  • Or use pip install -r requirments.txt to install all at once
  • (You might need admin privlage)
  • If you want you can change the MIN_OF_STARS Value the the the minimum of stars a picture must have to be downloaded. Default is 5
  • run python JodelDownloader.py

Docker

This project provides a Dockerfile. You just need to build the Image by docker build -t jc_dl .

To run the Image type docker run jc_dl

The container now runns forever and ownloads the pictures twice a day. All pics are within the docker container.

KNOWN BUGS:

           Now all Pictures in the entire channel gets Downloaded but not all videos
           TODO Make sure the video ID is loaded

           This Script does not get all the pics. JodelCity only loads the first 80
           or so comments. So only the pics within thes loaded comments will be found.
           SOLVED

           Somtimes the dirver chraches without a abvious reason. Just restart the Script
           SOLVED

Future imprufments:

           Use base_url + '6789?ajax=1&no=200&to=300' to load post 200 to 300 or base_url + '?gal=1' for picture gallery

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.