-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fdfb9a
commit 59e8c42
Showing
30 changed files
with
100 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,50 +15,56 @@ The database contains the following fields: | |
5. Meta (a JSON encoded field of whatever fields each source provides) | ||
``` | ||
|
||
## Installation | ||
```bash | ||
$ pip install unscrapulous | ||
``` | ||
|
||
## Usage | ||
```bash | ||
$ unscrapulous --config=config.toml --output=output.csv | ||
``` | ||
|
||
## Development | ||
```bash | ||
$ git clone [email protected]:themousepotato/unscrapulous.git | ||
$ cd unscrapulous | ||
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - | ||
$ poetry install | ||
$ poetry shell | ||
``` | ||
|
||
## Usage | ||
```bash | ||
$ ./unscrapulous.py --config=config.toml --output=output.csv | ||
$ poetry build | ||
$ pip install dist/unscrapulous-*.whl | ||
``` | ||
|
||
## Config | ||
The `config.toml` file has the following format: | ||
```toml | ||
[scrapers] | ||
arbitration-awards-bse = false | ||
arbitration-awards-nse = false | ||
bse-defaulter-and-expelled-members = false | ||
icex-defaulter-members = false | ||
icex-expelled-members = false | ||
income-tax-defaulters = false | ||
irda-blacklisted = false | ||
mca-company-defaulter-list = false | ||
mca-director-defaulter-list = false | ||
mca-director-disqualified-list = false | ||
mca-proclaimed-offenders-ind = false | ||
mcx-action-ap = false | ||
mcx-defaulter-members = false | ||
mcx-secretaries-defaulter-list = false | ||
mse-arbitral-awards = false | ||
ncdex-suspended-defaulted-expelled-debarred-members = false | ||
nse-defaulted-members = false | ||
nse-expelled-members = false | ||
nse-regulatory-defaulting-clients = false | ||
sebi-debarred-bse = false | ||
sebi-debarred-nse = false | ||
sfio-convicted = true | ||
sfio-proclaimed-offenders = false | ||
unsc-1988 = false | ||
unsc-consolidated-list = false | ||
wildlife-crime-convicts = true | ||
arbitration_awards_bse = false | ||
arbitration_awards_nse = false | ||
bse_defaulter_and_expelled_members = false | ||
icex_defaulter_members = false | ||
icex_expelled_members = false | ||
income_tax_defaulters = false | ||
irda_blacklisted = false | ||
mca_company_defaulter_list = false | ||
mca_director_defaulter_list = false | ||
mca_director_disqualified_list = false | ||
mca_proclaimed_offenders_ind = false | ||
mcx_action_ap = false | ||
mcx_defaulter_members = false | ||
mcx_secretaries_defaulter_list = false | ||
mse_arbitral_awards = false | ||
ncdex_suspended_defaulted_expelled_debarred_members = false | ||
nse_defaulted_members = false | ||
nse_expelled_members = false | ||
nse_regulatory_defaulting_clients = false | ||
sebi_debarred_bse = true | ||
sebi_debarred_nse = true | ||
sfio_convicted = false | ||
sfio_proclaimed_offenders = false | ||
unsc_1988 = false | ||
unsc_consolidated_list = false | ||
wildlife_crime_convicts = false | ||
``` | ||
|
||
## Roadmap | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "unscrapulous" | ||
version = "0.1.0" | ||
version = "0.1.1" | ||
description = "A utility that scrapes lists of unscrupulous entities (barred from doing financial business) published by various legal institutions" | ||
authors = ["Navaneeth Suresh <[email protected]>"] | ||
license = "MIT License" | ||
|
@@ -21,6 +21,9 @@ toml = "^0.10.2" | |
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[tool.poetry.scripts] | ||
unscrapulous = 'unscrapulous.unscrapulous:main' | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
2 changes: 1 addition & 1 deletion
2
unscrapulous/arbitration-awards-bse.py → unscrapulous/arbitration_awards_bse.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/arbitration-awards-nse.py → unscrapulous/arbitration_awards_nse.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ous/bse-defaulter-and-expelled-members.py → ...ous/bse_defaulter_and_expelled_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
[scrapers] | ||
arbitration-awards-bse = false | ||
arbitration-awards-nse = false | ||
bse-defaulter-and-expelled-members = false | ||
icex-defaulter-members = false | ||
icex-expelled-members = false | ||
income-tax-defaulters = false | ||
irda-blacklisted = false | ||
mca-company-defaulter-list = false | ||
mca-director-defaulter-list = false | ||
mca-director-disqualified-list = false | ||
mca-proclaimed-offenders-ind = false | ||
mcx-action-ap = false | ||
mcx-defaulter-members = false | ||
mcx-secretaries-defaulter-list = false | ||
mse-arbitral-awards = false | ||
ncdex-suspended-defaulted-expelled-debarred-members = false | ||
nse-defaulted-members = false | ||
nse-expelled-members = false | ||
nse-regulatory-defaulting-clients = false | ||
sebi-debarred-bse = false | ||
sebi-debarred-nse = false | ||
sfio-convicted = true | ||
sfio-proclaimed-offenders = false | ||
unsc-1988 = false | ||
unsc-consolidated-list = false | ||
wildlife-crime-convicts = true | ||
arbitration_awards_bse = false | ||
arbitration_awards_nse = false | ||
bse_defaulter_and_expelled_members = false | ||
icex_defaulter_members = false | ||
icex_expelled_members = false | ||
income_tax_defaulters = false | ||
irda_blacklisted = false | ||
mca_company_defaulter_list = false | ||
mca_director_defaulter_list = false | ||
mca_director_disqualified_list = false | ||
mca_proclaimed_offenders_ind = false | ||
mcx_action_ap = false | ||
mcx_defaulter_members = false | ||
mcx_secretaries_defaulter_list = false | ||
mse_arbitral_awards = false | ||
ncdex_suspended_defaulted_expelled_debarred_members = false | ||
nse_defaulted_members = false | ||
nse_expelled_members = false | ||
nse_regulatory_defaulting_clients = false | ||
sebi_debarred_bse = true | ||
sebi_debarred_nse = true | ||
sfio_convicted = false | ||
sfio_proclaimed_offenders = false | ||
unsc_1988 = false | ||
unsc_consolidated_list = false | ||
wildlife_crime_convicts = false |
2 changes: 1 addition & 1 deletion
2
unscrapulous/icex-defaulter-members.py → unscrapulous/icex_defaulter_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/icex-expelled-members.py → unscrapulous/icex_expelled_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/income-tax-defaulters.py → unscrapulous/income_tax_defaulters.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/irda-blacklisted.py → unscrapulous/irda_blacklisted.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/mca-company-defaulter-list.py → unscrapulous/mca_company_defaulter_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/mca-director-defaulter-list.py → unscrapulous/mca_director_defaulter_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...apulous/mca-director-disqualified-list.py → ...apulous/mca_director_disqualified_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/mca-proclaimed-offenders-ind.py → unscrapulous/mca_proclaimed_offenders_ind.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/mcx-defaulter-members.py → unscrapulous/mcx_defaulter_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...apulous/mcx-secretaries-defaulter-list.py → ...apulous/mcx_secretaries_defaulter_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/mse-arbitral-awards.py → unscrapulous/mse_arbitral_awards.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ed-defaulted-expelled-debarred-members.py → ...ed_defaulted_expelled_debarred_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/nse-defaulted-members.py → unscrapulous/nse_defaulted_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/nse-expelled-members.py → unscrapulous/nse_expelled_members.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lous/nse-regulatory-defaulting-clients.py → ...lous/nse_regulatory_defaulting_clients.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/sebi-debarred-bse.py → unscrapulous/sebi_debarred_bse.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/sebi-debarred-nse.py → unscrapulous/sebi_debarred_nse.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/sfio-convicted.py → unscrapulous/sfio_convicted.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/sfio-proclaimed-offenders.py → unscrapulous/sfio_proclaimed_offenders.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
unscrapulous/unsc-consolidated-list.py → unscrapulous/unsc_consolidated_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.