ECB Scraper
ECB Scraper is a Python package for scraping European Central Bank press conference transcripts. It allows for easy extraction of press conference details including dates and URLs, offering a streamlined way to access ECB statements and Q&A sessions over the years.
Installation
Install ecb-scraper via pip:
pip install ecb-scraper
Usage
CLI
The ECB Scraper also provides a Command Line Interface (CLI) for fetching ECB press conferences without needing to write any Python code. Here's how you can use it:
Arguments
- --start-year: Specify the start year for fetching the conferences. If not provided, the script will use 1998.
- --end-year: Specify the end year for fetching the conferences. If not provided, the current year is used.
- --output-file: Required. The path to the file where the fetched data will be saved (CSV or JSON).
Default values
ecb-scraper --output-file conferences.json
Speific dates
ecb-scraper --start-year 2010 --end-year 2020 --output-file conferences.json
Python
The ECB Scraper can also be used as a Python package. Here's how you can use it:
from ecb_scraper import load_ecb_conferences
# DataFrame with columns ['date', 'title', 'link', 'text']
conferences = load_ecb_conferences(start_year=2005, end_year=2020)
Metadata
Release files for ecb-scraper 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ecb_scraper-0.1.3.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ecb_scraper-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / ecb_scraper-0.1.3.tar.gz
| Download URL | ecb_scraper-0.1.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3a32e0f652c7b37dce8b474a6ceae23caea25b8f32bf891fc20b323ec90f0a8
|
|
BLAKE2b-256 checksum How to use checksums |
c820e5e5c792d5051a9bfe3faac1c7c0a6be872e7114f44adcda43d3a3c61706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.9.7 Darwin/23.1.0
|
Release files / ecb_scraper-0.1.3-py3-none-any.whl
| Download URL | ecb_scraper-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0fbba7e7827447aadef569400bf9786e58e25df7326f6591819589897d54d9c
|
|
BLAKE2b-256 checksum How to use checksums |
9c06adddd39e425a989b1df58d0d97830185d594acf39b293f4edff297dc2146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.9.7 Darwin/23.1.0
|