Skip to content

Parsa2820/tgju-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

tgju-scraper

A simple scraper for tgju.org with command line interface.

Requirements

Usage

There is no installation option yet, so you have to clone the repository and run the script manually. I may package it in the future.

git clone https://github.com/Parsa2820/tgju-scraper.git
cd tgju-scraper
python3 tgju.py --help
Usage:
    python tgju.py --help # show this message
    python tgju.py --list # show list of currencies
    python tgju.py --all # show price of all currencies
    ptyhon tgju.py --ledger # show price of all currencies in ledger database format
    python tgju.py <currency> # show price of currency
    python tgju.py <currency1> <currency2> ... # show price of currencies

What is ledger database format? Ledger is a double-entry accounting system. It is kinda cool. Check it out here. This option is useful if you want to convert the prices in your ledger file to IRR.

About

A Simple Scraper for tgju.org with CLI

Resources

Stars

Watchers

Forks

Languages