question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why is sherlock not using updated data.json file?

See original GitHub issue

Checklist

  • I’m asking a question regarding Sherlock
  • My question is not a tech support question.

We are not your tech support. If you have questions related to pip, git, or something that is not related to Sherlock, please ask them on Stack Overflow or r/learnpython

Question

I added the code to fix codeforces site in data.json, but the program is not checking for a given username on codeforces.

python sherlock.py tourist --site "Codeforces" Error: Desired sites not found: ‘Codeforces’.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
iaaryanrajcommented, Oct 31, 2022

Thanks! It worked that way.

1reaction
kensim48commented, Oct 31, 2022

Try using the --local flag, so run python sherlock.py tourist --site "Codeforces" --local

if args.local:
            sites = SitesInformation(os.path.join(
                os.path.dirname(__file__), "resources/data.json"))
Read more comments on GitHub >

github_iconTop Results From Across the Web

Add option "--update" to Sherlock · Issue #501 - GitHub
After the restructuring has been done, Sherlock will be added to PyPi. So people will be able to update Sherlock using pip after...
Read more >
an open source data platform, developed in the ... - sherlock
Loading Interaction data to sherlock. STEP 1: store raw files copy raw ... Generate and copy json files to landing zone, partitioned by...
Read more >
Exploring Sherlock. A tool for searching usernames across…
A tool for searching usernames across social networks. This post is my attempt at understanding an open-source project.
Read more >
sherlock-hunt - PyPI
--local, -l Force the use of the local data.json file. To search for only one user: python3 sherlock user123. To search for more...
Read more >
Service Virtualisation - Specmatic
json Stub server is running on http://localhost:9000. Ctrl + C to stop. Specmatic looks for a directory with the filename of the specmatic...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found