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
```python
>>> 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
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.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for imgur_scraper-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e524e89d908e1e663d0814f526ac0b77c1e674212b722e26753dc5686157881 |
|
MD5 | d9858ce8bc267056e9e0e6b6cf5c959c |
|
BLAKE2b-256 | 4e2276a45ecd29457fb9eab4c37e6e5e00956b13d041b9a123b6dee1d1f9d03d |