Commit graph

956 commits

Author SHA1 Message Date
jenchieh
1c1cb03178 Add sherlock preview imaage. 2019-03-09 14:45:07 +08:00
Yahya SayadArbabi
51c3756eaf
Merge pull request #186 from jcs-PR/master
Put the original creator to license section.
2019-03-08 20:26:53 +03:30
jenchieh
56b4aa16a9 Put the original creator to license section. 2019-03-08 21:18:33 +08:00
Yahya SayadArbabi
55b1fa5c44 bump version 2019-03-08 16:11:25 +03:30
jenchieh
a67387d711 Remove duplicate import. 2019-03-08 19:44:50 +08:00
jenchieh
71b6c2149e Put docstring inside the function. 2019-03-08 19:44:29 +08:00
Yahya SayadArbabi
34e72a0622 Resolve conflicts 2019-03-08 13:32:38 +03:30
Yahya SayadArbabi
ed3dddde65 bump version 2019-03-08 13:31:15 +03:30
Yahya SayadArbabi
760a0f5f33 Merge branch 'patch-5' 2019-03-08 13:25:51 +03:30
Yahya SayadArbabi
6c5656a84b bump version 2019-03-08 13:25:38 +03:30
Jen-Chieh
972d7dceea Org code for removing all the purpose print functions. 2019-03-08 13:40:58 +08:00
cclauss
47fac5943f
Use compound if statement rather than "if and"
This approach is a bit strange to read the first few time but has advantages in that it is easier to get right and faster to execute.

The interactions between `and`, `or`, `not`, and `()` can get confusing for new coders.  For example, the code line 308 does not match the comment on 307 and I believe that in this case the comment correct and the code is wrong (for values < 200) because it is missing parens.  I believe that __200 <= status_code < 300__ produces the correct results in a readable (semi-)intuitive code.
```
>>> for status_code in (-1, 1, 199, 200, 201, 299, 300, 301, 1000):
...     print(not status_code >= 300 or status_code < 200,
...           not (status_code >= 300 or status_code < 200),
...           200 <= status_code < 300)
...
True False False
True False False
True False False
True True True
True True True
True True True
False False False
False False False
False False False
```
2019-03-07 23:57:56 +01:00
Yahya SayadArbabi
d06bc83495
Merge pull request #181 from sdushantha/patch-3
added logo and more sheilds
2019-02-28 15:04:55 +03:30
Siddharth Dushantha
f65791ae08
new added logo and more sheilds 2019-02-28 09:32:59 +01:00
Yahya SayadArbabi
c5e2d577c7
Merge pull request #180 from sdushantha/patch-2
added twitter shield
2019-02-28 10:34:12 +03:30
Siddharth Dushantha
da6308c2ad
added twitter shield 2019-02-27 19:13:20 +01:00
Yahya SayadArbabi
86269c0307 Merge branch 'QingChongNotAnAsian/no_not_found' 2019-02-27 11:50:21 +03:30
Yahya SayadArbabi
bbc056cd1d Bump version 2019-02-27 11:48:37 +03:30
Yahya SayadArbabi
adfb27433e Clean up 2019-02-27 11:48:02 +03:30
Tait Hoyem
c7dff0c2a5 Fix 2 failing tests on etsy. 2019-02-26 17:25:36 +00:00
Tait Hoyem
8b78e66d41 Add new option name to README 2019-02-26 16:56:12 +00:00
Tait Hoyem
74eefe02ca Rename option to --print-found 2019-02-26 16:54:49 +00:00
Tait Hoyem
d83e602db5 Update README with --nonotfound option 2019-02-26 04:38:24 +00:00
Tait Hoyem
2750538e2e Add option to not show 'Not Found!' messages. 2019-02-26 04:35:52 +00:00
Christopher Kent Hoadley
eee1be14aa
Merge pull request #176 from sdushantha/patch-1
Added stargazers graph to README
2019-02-24 06:36:25 -06:00
Siddharth Dushantha
36b6a1f39b
Added stargazers graph to README 2019-02-24 08:06:51 +01:00
Christopher K. Hoadley
0f8e734d78 Bump version. 2019-02-21 07:15:44 -06:00
Christopher K. Hoadley
37747c22c6 Provide valid claimed username. It appears that @zero77 just cloned an existing entry and did not really run the tests. 2019-02-21 07:15:19 -06:00
Christopher K. Hoadley
9f0a58467d Update rank information and supported site list. 2019-02-21 07:02:11 -06:00
zero77
b4ef40d627
Update data.json 2019-02-17 17:40:11 +00:00
Christopher Kent Hoadley
18718938c6
Merge pull request #173 from TheYahya/hoadlck-500px-fix
Fix False Positive On 500px
2019-02-16 19:51:07 -06:00
Christopher K. Hoadley
4fa8de4758 Update version. 2019-02-16 19:49:21 -06:00
Christopher K. Hoadley
61cad384df Fix false positive for 500px. The site changed their error text, so Sherlock started reporting false positives. 2019-02-16 19:48:39 -06:00
Yahya SayadArbabi
e1bf68443c Merge branch 'patch-1' 2019-02-16 04:00:34 +03:30
Yahya SayadArbabi
a27c0a855e bump version 2019-02-16 04:00:24 +03:30
Beam OP
dc92fd6bb3
Update sites.md 2019-02-16 00:48:34 +01:00
Beam OP
9ea3c3a679
Added dev.to support 2019-02-16 00:45:44 +01:00
Christopher Kent Hoadley
b3d9e407c8
Merge pull request #169 from TheYahya/hoadlck-test-coverage6
More And More And More And More And More Tests (Fin)
2019-02-09 23:47:48 -06:00
Christopher K. Hoadley
d3f0bfd0fc Add test to ensure that all sites have test data. If they do not, then the person running the tests will be able to see the list of sites missing coverage. 2019-02-09 23:34:09 -06:00
Christopher K. Hoadley
419c62f675 Update sites now that a couple had to be removed. Update rank as well (since the rank information gets purged from the JSON if you do not add this option). 2019-02-09 20:43:50 -06:00
Christopher K. Hoadley
9633aaba67 Remove BlackPlanet site. This site has always returned a false positive. I looked into it and discovered that the site returns the exact same text for a claimed or an unclaimed username. The site must be rendering all of the different content using Javascript in the browser. So, there is no way distinguish between the results with the current design of Sherlock. 2019-02-09 20:32:35 -06:00
Christopher K. Hoadley
5637ab88d9 Remove Fotolog site. I get a 502 HTTP error (bad gateway) for any access. It does not seem to be working, so there is no sense in including it in Sherlock. 2019-02-09 20:29:19 -06:00
Christopher K. Hoadley
19d73ac118 Convert Zhihu to use Response URL detection. For some reason the site returns a 405 HTTP Status for a known user (e.g. https://www.zhihu.com/people/blue). Add to tests. 2019-02-09 20:23:01 -06:00
Christopher K. Hoadley
d62674fdb9 Add Wix to tests. 2019-02-09 20:19:00 -06:00
Christopher K. Hoadley
ff9470974e Convert WebNode to use more reliable HTTP Status detection. Add to tests. This site is slow. I sometimes get HTTP 504 errors when testing it. 2019-02-09 20:11:45 -06:00
Christopher K. Hoadley
1d7b76aabd Convert VK to use Response URL detection. For some reason, a query against a known profile (e.g. https://vk.com/smith), would return a 418 HTTP Status. Which is odd, because this HTTP Status means "I'm a teapot". It was defined as an April Fools' joke in 1998. If I use the Response URL detection method, I am able to get around this issue. Add to tests. 2019-02-09 20:05:55 -06:00
Christopher K. Hoadley
bb95811936 Convert Quora to use Response URL detection. For some reason, a query against a known profile (e.g. https://www.quora.com/profile/Matt-Riggsby) would return a 403 HTTP Status. Add to tests. 2019-02-09 19:54:15 -06:00
Christopher K. Hoadley
bf41b63c09 Add Plug.DJ to tests. 2019-02-09 19:01:04 -06:00
Christopher K. Hoadley
38661a95a0 Convert LiveJournal to use more reliable HTTP Status detection method. Add to tests. 2019-02-09 18:56:36 -06:00
Christopher K. Hoadley
75aba05399 Convert Carbonmade to use Response URL detection. This is much more robust than the Error Message method. There are some odd things going on with this site... When I manually try certain user names, I get forwarded to other usernames. I suspect that there is some aliasing going on in the background. The detection for this site is probably not quite correct. But, it definitly works better than before. Add to tests. 2019-02-09 18:55:55 -06:00