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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imgur_scraper-0.1.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for imgur_scraper-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13dbe5b586c6d9b332562d53860c520882de401c44c9303a4d290735c45b353b |
|
MD5 | cad2eb7d9e3aa99423a91bbf51462551 |
|
BLAKE2b-256 | 1b72bde09ee79c85d3c90a21e2245ec893c6b94ba5e9139e2fdeca11203cfc69 |