Commit Graph

1146 Commits

Author SHA1 Message Date
GandelXIV 20a6a42e53 add tiktok 2020-06-10 16:55:40 +02:00
Siddharth Dushantha 1e20c5dd69 Merge pull request #624 from red0xff/freelancer.com
Add Freelancer.com
2020-05-26 21:59:29 +02:00
Niboucha Redouane 8cc376a798 Add Freelancer.com 2020-05-25 19:59:10 +02:00
Christopher K. Hoadley 29eb2ddf2d Update site list and version. 2020-05-25 11:33:29 -05:00
Christopher K. Hoadley d40f88e3f6 Remove gpodder.net as all usernames are reported as available.
The server is returning a HTTP Status 500 (Internal server error) for all queries.
2020-05-25 11:22:00 -05:00
Christopher K. Hoadley 003b6b22bf Remove Raidforums as all usernames are reported as claimed.
The site will not let the query proceed unless Javascript is turned on.
2020-05-25 11:16:17 -05:00
Christopher K. Hoadley dec49cda87 Remove 9GAG as all usernames are reported as available. 2020-05-25 10:58:10 -05:00
Christopher K. Hoadley c1a05c314f Remove Investing.com as all usernames are reported as claimed. 2020-05-25 10:54:04 -05:00
Christopher K. Hoadley 7f298e41e6 Use HTTP Status detection for OpenCollective. The site does give a clean 404 code. 2020-05-25 10:49:33 -05:00
Christopher K. Hoadley 87bffea0e0 Remove TikTok as all usernames are reported as claimed. 2020-05-25 10:46:07 -05:00
Christopher K. Hoadley 7505467020 Update site list and version. 2020-05-24 23:49:39 -05:00
Christopher K. Hoadley 76193fd0b8 Remove ColourLovers as all usernames show as claimed.
There is an API available (https://www.colourlovers.com/api/), but when there is no match it returns an empty file.  So, changes would have to happen before the lack of a response could be used to detect.
2020-05-24 23:39:28 -05:00
Christopher K. Hoadley c8fdc3e923 Fix tests for VK. Someone claimed the test's unclaimed username. 2020-05-24 22:54:30 -05:00
Christopher Kent Hoadley 3c454794ff Merge pull request #623 from tdh8316/master
Use `is` operator when comparing singletons.
2020-05-24 06:08:42 -05:00
탁동혁 cdfb97f6e6 Use is operator when comparing singletons. 2020-05-24 12:35:04 +09:00
Christopher K. Hoadley 1626c704a5 Add nightly test that checks the site coverage. Schedule it at 3AM (The Hour Of The Wolf) so it will be less likely to bother anyone. 2020-05-23 21:50:05 -05:00
Christopher K. Hoadley 157c7c6728 Merge remote-tracking branch 'pr/add-separated-github-actions' 2020-05-23 20:58:41 -05:00
Christopher Kent Hoadley 64fecce6a3 Merge pull request #622 from dannysepler/dsepler/clean-import
Clean out unused imports
2020-05-23 18:18:05 -05:00
Danny Sepler 3fa85c1576 Clean out unused imports 2020-05-23 15:26:57 -04:00
Lucas Hiago a6b201b352 Create github action for branch master 2020-05-19 23:25:29 -03:00
Lucas Hiago cc384d9553 Change the pull request github action file 2020-05-19 23:23:08 -03:00
Lucas Hiago 9a242a6999 Fix matrix value for python version 2020-05-14 23:11:36 -03:00
Lucas Hiago 134d0ab464 Set python version based on file change 2020-05-14 23:00:40 -03:00
Christopher K. Hoadley 606eb20f7c Fix Sherlock Test Workflow. Remove Travis CI, and update badge. 2020-05-09 21:44:28 -05:00
Christopher Kent Hoadley c1857ec508 Try adding GitHub Action For Test
Let's see if this works...
2020-05-09 15:44:47 -05:00
Christopher Kent Hoadley 3942182699 Merge pull request #600 from sherlock-project/tests_post_restructure_fix
Add change directory to CI so tests are executed in proper context.
2020-05-09 11:15:40 -05:00
Christopher K. Hoadley 091f8c4f7b Add change directory to CI so tests are executed in proper context. 2020-05-09 11:10:43 -05:00
Christopher Kent Hoadley e5bc18144b Merge pull request #599 from sherlock-project/status_detect_get_override
Support HTTP Status Detection GET Override.  Use For Instagram
2020-05-09 08:17:39 -05:00
Christopher K. Hoadley 8619a353e4 Add override to HTTP Status Detection so HEAD request is not used. Configure Instagram to use this option.
In most cases when we are detecting by status code, it is not necessary to get the entire body:  we can detect fine with just the HEAD response.  However, Richard Getz discovered that some sites (e.g. Instagram) will not respond properly if Sherlock only requests the HEAD.

Add a "request_head_only" attribute to the data.json so HTTP Status Detection can be configured either way.  It is simpler to support this change in this fashion, as it does not require changes to the tests.

With Richard Getz <richardgetziii@gmail.com>
2020-05-09 08:13:23 -05:00
Christopher K. Hoadley 0ba4980887 Update site list. Update version. 2020-05-08 23:42:00 -05:00
Christopher K. Hoadley 2b99aeef0f Fix path to data file when doing site update. 2020-05-08 23:39:41 -05:00
Richard Getz f2179ca7c9 Updated TikTok to status_code errorType. This fixes the issue of TikTok loading blank profiles. 2020-05-08 23:23:44 -05:00
Siddharth Dushantha 7a0047b6d6 Merge pull request #590 from sherlock-project/restructure_take2
Sherlock Restructure (Take 2)
2020-05-07 15:04:11 +02:00
Christopher K. Hoadley faac3ff0f3 Get rid of function that formats time. 2020-04-23 21:33:32 -05:00
Christopher K. Hoadley f26ea67e83 Move loose print functions into QueryNotifyPrint() class. 2020-04-23 21:18:08 -05:00
Christopher K. Hoadley 1d251085b7 Remove verbose option from tests. It is not used anymore. 2020-04-23 07:09:31 -05:00
Christopher K. Hoadley 1eaf0dc46e Update help command line. 2020-04-23 07:05:12 -05:00
Christopher K. Hoadley 6caa5a4e35 Restructure all print output to use QueryNotifyPrint() object.
Added start and finish methods to base QueryNotify() object in order to get the same type of output.

The only thing not supported in this refactor is the exception text for an error status when we are in verbose mode.  This is an area of future work: I think exception information like this would more properly be handled by the logging module.
2020-04-23 06:58:28 -05:00
Christopher K. Hoadley ae2fd7a729 Add username and site information to Query Result object. This will allow whoever defines a Query Notify object to have all of the context required to do their notifications. 2020-04-19 15:41:59 -05:00
Christopher K. Hoadley c07d3967aa Create QueryNotify() base class for notifying the caller about the results. 2020-04-19 15:38:16 -05:00
Christopher K. Hoadley c054712920 Move response time for query into QueryResult() object. 2020-04-18 22:04:09 -05:00
Christopher K. Hoadley 2a8f97b609 Fix tests for metacritic. Unclaimed username was illegal. 2020-04-12 11:59:37 -05:00
Christopher K. Hoadley 6f3fc3d548 Remove AdobeForums. All usernames are reported available. 2020-04-12 11:56:36 -05:00
Christopher K. Hoadley 5edc3c0a0b Fix tests. Instagram no longer uses the message detection. 2020-04-12 11:55:11 -05:00
Christopher K. Hoadley 529b37bc60 Change tests so that expected state is first and actual state follows (previous order was confusing). Also use "claimed" and "available" terms when reporting test results. 2020-04-12 11:38:30 -05:00
Christopher K. Hoadley 92879af8eb Merge remote-tracking branch 'origin/master' into restructure_take1
# Conflicts:
#	README.md
#	sherlock/sherlock.py
2020-04-12 10:53:28 -05:00
Siddharth Dushantha 35d102209f removed ingvarr.net.ru
As of 2020-04-04, ingvarr.net.ru does not exist anymore. I confirmed using
downforeveryoneorjustme.com that the website is down.
2020-04-04 09:32:21 +02:00
Siddharth Dushantha cfe0d45c66 removed elwoRU
As of 2020-04-04, elwoRu does not exist anymore. I confirmed using
downforeveryoneorjustme.com that the website is down.
2020-04-04 09:26:50 +02:00
Siddharth Dushantha 3b61ba10e8 removed syntax highlighting for help message 2020-04-02 09:54:25 +02:00
Siddharth Dushantha 36a007f80e use status_code for Instagram 2020-04-02 09:49:24 +02:00