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.9.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for glasgow_live-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852fd4d37716d61de1e0a06f64e75e72cc008d7cd954333d94776b9776db911b |
|
MD5 | bdfd1eb8d59c6c12e8b6bbebec1c81ca |
|
BLAKE2b-256 | dc5046816a0bb520930c31ed450b4141885521a138e777227a39659d0a4641dd |