Compare commits
No commits in common. "e65e16d37b1a5d5a0316ef3b23e765a578823be6" and "cd426cdcb20736b541ca1b84811cf73cd6d52cc1" have entirely different histories.
e65e16d37b
...
cd426cdcb2
|
@ -1,11 +0,0 @@
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = false
|
|
||||||
charset = utf-8
|
|
||||||
|
|
||||||
[*.py]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
|
@ -1,21 +1,4 @@
|
||||||
"""
|
import requests
|
||||||
Manga checker and downloader
|
|
||||||
"""
|
|
||||||
|
|
||||||
import argparse
|
response = requests.get('https://httpbin.org/ip')
|
||||||
|
print('Code is {0}.'.format(response.status_code))
|
||||||
if __name__ == '__main__':
|
|
||||||
parser = argparse.ArgumentParser(
|
|
||||||
description="Check for manga updates and download them."
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
'-d', '--destination', type=str, required=True, help="Target destination where the download file should be saved."
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
'-s', '--chapter-start', type=int, default=1, help="From which chapter should the program check."
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
'-n', '--notify', type=str, default=None, help="Apprise notification string."
|
|
||||||
)
|
|
||||||
|
|
||||||
args = parser.parse_args()
|
|
Loading…
Reference in New Issue