summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-04-20 00:54:41 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-04-20 00:54:41 +0300
commit9d44b010d357fe64ee6b34b708c015e33e9f3022 (patch)
tree9371a7fee7077082c3c5adfc65e635c84073d792
parentb2ee8aa214f04a1d0bf9f86d96cf7c98d14bdf0b (diff)
remove unused code
-rw-r--r--mgs.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/mgs.py b/mgs.py
index cd5e46c..d63aea5 100644
--- a/mgs.py
+++ b/mgs.py
@@ -84,17 +84,3 @@ class MGSPiracy:
os.unlink(tempname)
return text
-
-
-if __name__ == '__main__':
- argp = ArgumentParser()
- argp.add_argument('--output', type=str, default='output.csv',
- help='CSV output file name')
- argp.add_argument('--upto-pages', type=int, default=10,
- help='Last page to parse')
- args = argp.parse_args()
-
- mgs = MGSPiracy(url="https://mos-gorsud.ru/mgs/defend",
- to_page=args.upto_pages,
- output=args.output)
- mgs.get_cases()