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
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.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for imgur_scraper-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a81a23ca33a233545d24b90f310c8edd646b716f0372b1abd9fc4c9042c255f |
|
MD5 | b8aa113fa34a4f2d865eab86af4fe42e |
|
BLAKE2b-256 | dfa0fa583b4b735118221036d43cc0ae4d108146cc55cc5a47b158468723214a |