Skip to main content

Retrieve Imgur's viral posts from a given date (it goes back years).

Project description

Imgur Scraper

Retrieve Imgur’s viral posts from a specific date. No authentication required. Implemented using their frontend API.

Usage

>>> from imgur_scraper import get_viral_posts_from
>>> for post in get_viral_posts_from(date="31/12/2015"):
>>>     print(post)
The most viral images from Wednesday, Dec 31 2015
{
        'title': 'Tire went flat overnight and decided to have a little fun',
        'url': 'https://imgur.com/gallery/SIQgS',
        'points': '15,893',
        'tags': 'funny'
}
… prints all 500 of them

Installation

pip install imgur-scraper

Python 3.6 is required

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
imgur_scraper-0.1.2-py2.py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
imgur_scraper-0.1.2.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page