Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project description

Imgur Scraper

Retrieve Imgur’s viral posts from a given 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="12/31/15"):
>>>     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


Release history Release notifications

History Node

0.1.2

This version
History Node

0.1.1

History Node

0.1.0

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.1-py2.py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 9, 2018
imgur_scraper-0.1.1.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Mar 9, 2018

Supported by

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