Web scraping API for Finnish websites
Project description
finscraper
The library provides an easy-to-use API for fetching data from various Finnish websites:
Website | Type | Spider API class |
---|---|---|
Ilta-Sanomat | News article | ISArticle |
Iltalehti | News article | ILArticle |
YLE Uutiset | News article | YLEArticle |
Suomi24 | Discussion thread | Suomi24Page |
Vauva | Discussion thread | VauvaPage |
Oikotie Asunnot | Apartment ad | OikotieApartment |
Tori | Item deal | ToriDeal |
Documentation is available at https://finscraper.readthedocs.io and simple online demo here.
Installation
pip install finscraper
Quickstart
Fetch 10 news articles as a pandas DataFrame from Ilta-Sanomat:
from finscraper.spiders import ISArticle
spider = ISArticle().scrape(10)
articles = spider.get()
The API is similar for all the spiders:
Contributing
Please see CONTRIBUTING.md for more information.
Jesse Myrberg (jesse.myrberg@gmail.com)
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
finscraper-0.2.3.tar.gz
(22.4 kB
view hashes)
Built Distribution
finscraper-0.2.3-py3-none-any.whl
(30.1 kB
view hashes)
Close
Hashes for finscraper-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9277ba325c3992b196157df5dcd577edfdc90e8284efd7276ed2f0384c2c3ad4 |
|
MD5 | d74f82bb7340f5f15a8fb25242c93638 |
|
BLAKE2b-256 | 595c657ea93295e33993aad23f29547aa7bbd7d5ad4bc424becb0ad75305009b |