Giter VIP home page Giter VIP logo

jcrawler's Introduction

jcrawler

This is a simple web crawler to download the latest articles from several journals. The crawler relies on Python 3.x and Selenium (Chrome webdriver)

It will check the lastVolume.txt, a utf8 JSON, to get the issue number that already be downloaded. Then it go through the journal list to download available new issues, and put the pdf files to target directories.

Since it is based on Selenium, it is not quick, and it is just designed for personal usage, so it is not that smart too. So, just re-engineer it to suit specific perpose.

Setup of Selenium and Chrome webdriver please refer to the official documents. If webdriver is installed in directory other than default /usr/local/bin or /usr/bin(Mac), please change corresponding code in journalspider.py

CHANGE ALL THE DIRECTORIES(in journalcrawler.py) BEFORE USE (including one source dir and 4 journal dir)

先配置好Chrome webdriver的路径,这里默认放在了/usr/local/bin或者/usr/bin(Mac), 如果在别的地方,要在journalspider.py里加指示。

pdf有四个路径,还有一个源文件路径要改成本地的

UPDATE: Adding the option that allows to download the current issue when no new issue is available

Apate to new RFS downloaded filename change

jcrawler's People

Contributors

gyra avatar

Watchers

James Cloos avatar  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.