Skip to content

Commit

Permalink
LS #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Jul 4, 2023
1 parent 1afeac7 commit 791e8a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ python linkscraper -u https://example.com -a get-plugins -p screenshot -f screen

## Changelog

> Current version: ``2.0.0``
> Current version: ``2.0.1``
Fixed

* Fix the GitHub Gist URLs

Added

Expand Down
2 changes: 1 addition & 1 deletion __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

console = Console(record=True)

version = "2.0.0"
version = "2.0.1"
parser = argparse.ArgumentParser()

parser.add_argument("-u", "--url", help="URL to scan", required=True)
Expand Down
2 changes: 1 addition & 1 deletion core/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from http.client import HTTPConnection, HTTPSConnection

def http_code_list(c):
r = requests.get('https://gist.githubusercontent.com/thesilvaemily/31aed3c28577f78bcaace2a377f8aa17/raw/4e765d040b739f0d7bc60ef8c2c8f37c17eae81c/http-status-code.json')
r = requests.get('https://gist.githubusercontent.com/kremilly/31aed3c28577f78bcaace2a377f8aa17/raw/4e765d040b739f0d7bc60ef8c2c8f37c17eae81c/http-status-code.json')
r = r.json()

for code in r:
Expand Down
4 changes: 2 additions & 2 deletions utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def country(country):
if not country:
country = country

r = requests.get('https://gist.githubusercontent.com/thesilvaemily/c468fb230d6fcf97de827e37f91f2f6c/raw/3e037cefa50d0381956e862de478c5e5cce758ab/countries.json')
r = requests.get('https://gist.githubusercontent.com/kremilly/c468fb230d6fcf97de827e37f91f2f6c/raw/3e037cefa50d0381956e862de478c5e5cce758ab/countries.json')
r = r.json()

for code in r:
Expand All @@ -40,7 +40,7 @@ def language(lang):
else:
lang = lang.lower()

r = requests.get('https://gist.githubusercontent.com/thesilvaemily/fd5e5dd45d3480a8da57d56218cecd1e/raw/221c38e4a7e83e2bb9bab92cd8101c9c9adebaaf/languages.json')
r = requests.get('https://gist.githubusercontent.com/kremilly/fd5e5dd45d3480a8da57d56218cecd1e/raw/221c38e4a7e83e2bb9bab92cd8101c9c9adebaaf/languages.json')
r = r.json()

for code in r:
Expand Down

0 comments on commit 791e8a6

Please sign in to comment.