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 |
| Muusikoiden.net | Discussion thread | MNetPage |
| 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)
Metadata
Release files for finscraper 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| finscraper-0.2.5.tar.gz | 25.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finscraper-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.7 kB
Release files / finscraper-0.2.5.tar.gz
| Download URL | finscraper-0.2.5.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79906e8e8004718a470cfda7e36e1bf42a02bdf5da199743adb4b64f0a27d2e9
|
|
BLAKE2b-256 checksum How to use checksums |
1982c379483d86d03d3cf859e0fddaf9107b49b64200fcf7398687364eaa2e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / finscraper-0.2.5-py3-none-any.whl
| Download URL | finscraper-0.2.5-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bbc914b0e3eda951e31dba978cca23775121009a0baabc0cb008d614a64be5a
|
|
BLAKE2b-256 checksum How to use checksums |
13a909fb19b25b4a92f0231c1f7759ac7dd5cd6d10f2fad9631b0d2df5275564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|