Skip to content

Commit

Permalink
url parmater tweaks. (auto add 'http://' to front)
Browse files Browse the repository at this point in the history
  • Loading branch information
ray1422 committed Nov 9, 2019
1 parent 9cabcbb commit 7a391ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rws-archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
args = parser.parse_args()

url = args.url
url = 'http://' + url if url.find('http') < 0 else url
if url.endswith("/"):
url = url[:-1]
if "Ranking.html" in url:
Expand Down

0 comments on commit 7a391ab

Please sign in to comment.