Skip to content

Commit 9273137

Browse files
feat: Implement working site alias logic
Co-authored-by: obiwan04kanobi <[email protected]>
1 parent 506cd25 commit 9273137

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sherlock_project/resources/data.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,6 @@
21932193
"regexCheck": "^[a-zA-Z0-9_]{1,15}$",
21942194
"url": "https://x.com/{}",
21952195
"urlMain": "https://x.com/",
2196-
"urlProbe": "https://nitter.privacydev.net/{}",
21972196
"username_claimed": "blue"
21982197
},
21992198
"Typeracer": {

sherlock_project/sherlock.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,11 @@ def main():
829829
# Eventually, the rest of the code will be updated to use the new object
830830
# directly, but this will glue the two pieces together.
831831
site_data_all = {site.name: site.information for site in sites}
832-
if not args.site_list:
832+
# Create original dictionary from SitesInformation() object.
833+
# Eventually, the rest of the code will be updated to use the new object
834+
# directly, but this will glue the two pieces together.
835+
site_data_all = {site.name: site.information for site in sites}
836+
if args.site_list == []:
833837
# Not desired to look at a sub-set of sites
834838
site_data = site_data_all
835839
else:

0 commit comments

Comments
 (0)