GithubHelp home page GithubHelp logo

kevinyu0506 / researchgate-crawler Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 11.0 120 KB

A python spider for crawling Research Gate Papers.

License: Apache License 2.0

Python 95.33% Dockerfile 3.05% Shell 1.62%
scrapy python web-crawler researchgate docker

researchgate-crawler's Introduction

ResearchGate Crawler

A containerize python crawler for ResearchGate Papers powered by Scrapy

ResearchGate Scrapy

1. About the project

A small script that help me tracking up ResearchGate paper's references. Since I often spent enormous amount of time scanning through related references when I'm tracing down a specific research topic, this script tries to reduce and make the best use of my time in reading the most valuable references (which is defined as having more citation counts for now).

2. Getting Started

Download:

$ git clone https://github.com/kevinyu0506/ResearchGate-Crawler.git

Install Packages:

$ pip install -r requirements.txt

Usage:

Users can execute one of the following commands to start crawling.

Option 1. Run from docker hub

$ docker run --rm -v $(pwd)/output:/app/output kevinyu0506/researchgate-crawler url=https://www.researchgate.net/publication/338506484_Less_Is_More_Learning_Highlight_Detection_From_Video_Duration

Option 2. Build up a docker image and Run a container from it

$ sh crawl.sh https://www.researchgate.net/publication/338506484_Less_Is_More_Learning_Highlight_Detection_From_Video_Duration

Option 3. Run by script

$ cd src/
$ scrapy runspider spider.py -a url=https://www.researchgate.net/publication/338506484_Less_Is_More_Learning_Highlight_Detection_From_Video_Duration

This will generate an result.json file inside output directory containing all scraped items, serialized in JSON.

Output JSON format:

[
    {
        "title": "Less Is More: Learning Highlight Detection From Video Duration",
        "url": "https://www.researchgate.net/publication/338506484_Less_Is_More_Learning_Highlight_Detection_From_Video_Duration",
        "date": "June 2019",
        "DOI": "10.1109/CVPR.2019.00135",
        "conference": "Conference: 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)",
        "citation count": 13,
        "reference count": 40,
        "references": [
            {
                "reference title": "Deep Residual Learning for Image Recognition",
                "url": "https://www.researchgate.net/publication/286512696_Deep_Residual_Learning_for_Image_Recognition",
                "date": "December 2015",
                "DOI": null,
                "conference": null,
                "citation count": 29037
            },
            {
                "reference title": "Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?",
                "url": "https://www.researchgate.net/publication/321325134_Can_Spatiotemporal_3D_CNNs_Retrace_the_History_of_2D_CNNs_and_ImageNet",
                "date": "June 2018",
                "DOI": "10.1109/CVPR.2018.00685",
                "conference": "Conference: CVPR2018",
                "citation count": 551
            },
            {
                "reference title": "Discovering important people and objects for egocentric video summarization",
                "url": "https://www.researchgate.net/publication/261303472_Discovering_important_people_and_objects_for_egocentric_video_summarization",
                "date": "June 2012",
                "DOI": "10.1109/CVPR.2012.6247820",
                "conference": "Conference: Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on",
                "citation count": 495
            },...
        ]
    }
]

researchgate-crawler's People

Contributors

dependabot[bot] avatar kevinyu0506 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.