Skip to content

Commit 91ba5a4

Browse files
feat: Implement working site alias logic
Co-authored-by: obiwan04kanobi <[email protected]>
1 parent 5b38e94 commit 91ba5a4

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
@@ -2268,7 +2268,6 @@
22682268
"regexCheck": "^[a-zA-Z0-9_]{1,15}$",
22692269
"url": "https://x.com/{}",
22702270
"urlMain": "https://x.com/",
2271-
"urlProbe": "https://nitter.privacydev.net/{}",
22722271
"username_claimed": "blue"
22732272
},
22742273
"Typeracer": {

sherlock_project/sherlock.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,11 @@ def main():
783783
# Eventually, the rest of the code will be updated to use the new object
784784
# directly, but this will glue the two pieces together.
785785
site_data_all = {site.name: site.information for site in sites}
786-
if not args.site_list:
786+
# Create original dictionary from SitesInformation() object.
787+
# Eventually, the rest of the code will be updated to use the new object
788+
# directly, but this will glue the two pieces together.
789+
site_data_all = {site.name: site.information for site in sites}
790+
if args.site_list == []:
787791
# Not desired to look at a sub-set of sites
788792
site_data = site_data_all
789793
else:

0 commit comments

Comments
 (0)