Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sherlock_project/resources/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,6 @@
"regexCheck": "^[a-zA-Z0-9_]{1,15}$",
"url": "https://x.com/{}",
"urlMain": "https://x.com/",
"urlProbe": "https://nitter.privacydev.net/{}",
"username_claimed": "blue"
},
"Typeracer": {
Expand Down
6 changes: 5 additions & 1 deletion sherlock_project/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,11 @@ def main():
# Eventually, the rest of the code will be updated to use the new object
# directly, but this will glue the two pieces together.
site_data_all = {site.name: site.information for site in sites}
if not args.site_list:
# Create original dictionary from SitesInformation() object.
# Eventually, the rest of the code will be updated to use the new object
# directly, but this will glue the two pieces together.
site_data_all = {site.name: site.information for site in sites}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On lines 786-789:

@shreyasNaik0101 Small cleanup needed - this line appears to be a duplicate of line 786. Can you remove the duplicate?

site_data_all = {site.name: site.information for site in sites}	
# Create original dictionary from SitesInformation() object.		← Duplicate
# Eventually, the rest of the code will be updated to use the new object 		← Duplicate
# directly, but this will glue the two pieces together.		← Duplicate
site_data_all = {site.name: site.information for site in sites}	# ← Duplicate

One of these should be removed. Thanks!

if args.site_list == []:
# Not desired to look at a sub-set of sites
site_data = site_data_all
else:
Expand Down
Loading