Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andefined/pothen-esxes
Greek Pothen Esxes CLI
https://github.com/andefined/pothen-esxes
Last synced: 14 days ago
JSON representation
Greek Pothen Esxes CLI
- Host: GitHub
- URL: https://github.com/andefined/pothen-esxes
- Owner: andefined
- License: gpl-3.0
- Created: 2019-04-13T12:27:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-01T06:09:50.000Z (almost 2 years ago)
- Last Synced: 2023-02-26T11:41:37.877Z (over 1 year ago)
- Language: JavaScript
- Size: 232 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pothen-esxes
Greek Pothen Esxes CLI
## Usage
As from 2019, [hellenicparliament.gr](https://www.hellenicparliament.gr/Organosi-kai-Leitourgia/epitropi-elegxou-ton-oikonomikon-ton-komaton-kai-ton-vouleftwn/dilosi-periousiakis-katastasis-arxiki) is using Imprevas services to prevent users from scraping their content. Tthus, before scraping you must visit the website using a browser and save the appropriate cookies into a file.To get the cookies, Open Developer Tools (F12) > Application > Storage > Cookies > https://www.hellenicparliament.gr/.
The cookie file must look like this:
```bash
incap_ses_1170_2228038=XXX;agreeToCookies=1;incap_ses_477_2228038=XXX;visid_incap_2228038=XXX;cookiesession1=XXX;
``````bash
Usage: [options] [command]Pothen Esxes CLI
Options:
-V, --version output the version number
-h, --help output usage informationCommands:
fetch [options] Fetch public URL and write table to CSV
download [options] Download Pothen Esxes files
extract [options] Extract Pothen Esxes values to CSV
```### Pothen Esxes 2016 Example
```bash
# Fetch Pothe Esxes Data
pothen-esxes fetch -y 2016 -f pothenesxes \
-c $(