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.7.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for glasgow_live-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a6b8c103b81e9a677e949466bf47a0c071915de0d8b6efe046befe1d11a44a8 |
|
MD5 | e152c10e8572085aba0d982e25f8675f |
|
BLAKE2b-256 | d1ef22963f24dd2450d7d5307e952d572fcaddffd50c76955dcc86410463f93c |