Pending changes exported from your codespace

pull/1979/head
hackerb6y 4 months ago
parent 430df243c2
commit 715852ef05

@ -6,7 +6,7 @@ There are many ways to contribute. Here is some high level grouping.
## Adding New Sites
Please look at the Wiki entry on
[adding new sites](https://github.com/sherlock-project/sherlock/wiki/Adding-Sites-To-Sherlock)
I[adding new sites][def]
to understand the issues.
Any new sites that are added need to have a username that has been claimed, and one
@ -29,3 +29,6 @@ one reason or another.
## Adding New Functionality
Please ensure that the content on your branch passes all tests before submitting a pull request.
[def]: https://github.com/sherlock-project/sherlock/wiki/Adding-Sites-To-Sherlock

@ -0,0 +1,9 @@
from site_list import data_file
import json
data = json.load(data_file)
# Sort the social networks in alphanumeric order

@ -0,0 +1 @@
module_name = "Sherlock: Find Usernames Across Social Networks"

@ -20,6 +20,7 @@ from time import monotonic
import requests
from requests_futures.sessions import FuturesSession
from sherlock.module_name import module_name
from torrequest import TorRequest
from result import QueryStatus
from result import QueryResult
@ -28,7 +29,6 @@ from sites import SitesInformation
from colorama import init
from argparse import ArgumentTypeError
module_name = "Sherlock: Find Usernames Across Social Networks"
__version__ = "0.14.3"

@ -3,11 +3,11 @@
# sites.md. It also organizes all the sites in alphanumeric order
import json
from data import data
# Read the data.json file
with open("sherlock/resources/data.json", "r", encoding="utf-8") as data_file:
data = json.load(data_file)
# Sort the social networks in alphanumeric order
social_networks = sorted(data.items())
# Write the list of supported sites to sites.md
@ -25,3 +25,4 @@ with open("sherlock/resources/data.json", "w") as data_file:
data_file.write("\n")
print("Finished updating supported site listing!")
wd

Loading…
Cancel
Save