Commit graph

1121 commits

Author SHA1 Message Date
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
Siddharth Dushantha
0e77b7977b removed Telegram
Telegram returns false positives
2020-04-02 09:43:32 +02:00
Siddharth Dushantha
4cde0843e9 removed boingboing.net
boingboing.net was removed because now you need to login to check
whether a user exists or not
2020-04-02 09:23:45 +02:00
Siddharth Dushantha
1e18704f8a removed Trip by Skyscanner 2020-04-02 09:18:08 +02:00
Siddharth Dushantha
f7d7463086 removed SportsTracker
This site keeps returning false positives
2020-04-02 09:05:41 +02:00
Siddharth Dushantha
87e3e208ef fixed InsaneJournal false positive
Fixed the InsaneJournal false positive by using errorMsg instead of
staus_code
2020-04-02 08:24:02 +02:00
Siddharth Dushantha
d3e4c38cee Gpsies moved to AllTrails 2020-04-02 08:20:42 +02:00
Siddharth Dushantha
d33d17c6c9 fixed Wikipedia false positive
The error message had to be changed
2020-04-02 08:11:00 +02:00
Siddharth Dushantha
a1321b81e4
Merge pull request #567 from killerpanda101/master
Adding support form 6 websites
2020-03-20 15:21:34 +01:00
killerpanda101
5e8f357b07 adding support form 6 websites (career.habr,euw,freelance.habr,kali community,raidforums,realmeye,steamid) 2020-03-20 17:22:43 +05:30
Siddharth Dushantha
e781ed5e26
version bump 0.10.8 -- 0.10.9 2020-03-14 13:58:47 +01:00
Siddharth Dushantha
563bcd963d
updated help message 2020-03-14 13:58:01 +01:00
Siddharth Dushantha
33f58419af
Merge pull request #565 from omkarjc27/patch-1
Automatically browse to found sites
2020-03-14 13:57:08 +01:00
Siddharth Dushantha
3b39512732
Merge pull request #566 from armingh2000/adding_soylentnews
Added soylentnews
2020-03-14 13:27:43 +01:00
Armin
7621ef0304 corrected url 2020-03-14 00:46:27 +03:30
Armin
d98815b691 added site to data.json 2020-03-14 00:22:54 +03:30
Armin
bc3e58d599 removed unused variable 2020-03-14 00:21:15 +03:30
Omkar Chalke
d7597ef620
Automatically browse to found sites 2020-03-13 20:24:44 +05:30
Siddharth Dushantha
4c25a8e03d
added regex check for Metacritic 2020-03-11 21:39:53 +01:00
Siddharth Dushantha
be5f91ae6f
Merge pull request #563 from apap04/master
changed dis.cool to tracr.co
2020-03-11 19:57:13 +01:00
Siddharth Dushantha
100c0404c2
added regexcheck to tracr.co 2020-03-11 19:54:36 +01:00
Siddharth Dushantha
ee159af75a
updated error message for OpenCollective 2020-03-11 17:34:23 +01:00
Andreas Papacharalampous
92e60134a3 move tracr.co down to the Ts 2020-03-09 15:22:13 -04:00
Siddharth Dushantha
e0c590b3aa
Merge pull request #562 from LameLemon/site-pcgamer
Added PCGamer forum
2020-03-09 17:02:48 +01:00
Andreas Papacharalampous
4c5d284147 changed dis.cool to tracr.co 2020-03-09 00:59:20 -04:00
LameLemon
90de85ecc0 Added PCGamer forumn 2020-03-07 09:38:26 +00:00