A python module for news feeds from https://www.glasgowlive.co.uk/
Project description
Glasgow Live
A python module for news feeds from https://www.glasgowlive.co.uk/
Installation
pip install glasgow-live
If you're having issues with Twint such as
CRITICAL:root:twint.get:User:'NoneType' object is not subscriptable
Use:
pip install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
Requires
- feedparser
- facebook-scraper
- twint
Module Usage
from glasgow_live import feed, rss_links
rss = feed.rss_feed(rss_links.GLASGOW_NEWS)
fb_posts = feed.facebook_feed(pages=3)
tweets = feed.twitter_feed(pages=1)
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
glasgow-live-0.0.8.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for glasgow_live-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c3922fe646fb3f9a82f765dc9a91e4abcf8cf3350f453c6ea731598d5a605c |
|
MD5 | 8d0eb43886223046c2b11a24b92e9816 |
|
BLAKE2b-256 | 6d3da78cd80c73f5e62bed1ee83f2d490065951dbd2f56fd6a7cb107412b8dbe |