Yahya SayadArbabi
f641649be7
Sort "sites.md"
6 years ago
Pedro Almeida
1ed24f5993
correct code
6 years ago
ptalmeida
2ef168d924
Add website sorting code to site_list.py
...
Includes a fix in indentation
6 years ago
ptalmeida
92479c83e4
Sort websites alphabetically
6 years ago
Yahya SayadArbabi
adab51e580
Merge pull request #138 from sdushantha/master
...
centered the asciinema image
6 years ago
Yahya SayadArbabi
60f968d919
Merge pull request #137 from sdushantha/patch-1
...
replaced % with $ in README.md
6 years ago
Siddharth Dushantha
f1ac90b9ae
centered the asciinema image
6 years ago
Siddharth Dushantha
32920d7c23
replaced % with $
...
All of the other commands start with $, so it is better to be consistant.
6 years ago
Yahya SayadArbabi
a7fff6799d
Merge pull request #136 from sdushantha/master
...
added @sdushantha as the original creator
6 years ago
Siddharth Dushantha
9155d9d490
added @sdushantha as the original creator
6 years ago
Christopher K. Hoadley
a18065c1a7
Bump version. Update usage results in readme.
6 years ago
Christopher K. Hoadley
a538c07ab3
Merge branch 'pr/n133_cclauss'
6 years ago
Christopher Kent Hoadley
8dfe820067
Merge pull request #135 from TheYahya/hoadlck-response_url-site-fixes
...
Response URL Site Detection Strategy Overhaul
6 years ago
Christopher K. Hoadley
65b38592c4
Change "response_url" detection strategy completely.
...
Previously, there was a problem with sites that redirect an attempt to view a non-existing username to the main site. For example, if you try to go to https://devrant.com/users/dfoxxxxxxxxx (a user name that does not exist), then we get a redirect to the https://devrant.com/ root of the site. But, the "response_url" checking algorithm was only looking for the configured error URL being included in the response. So, these sites always indicated that the username was not found.
Update the "response_url" detection method so that the request does not allow redirects. If we get a 200 response of some type, then the username has been found. However, if we get something like a 302, then we know that the username was not found as we are being redirected.
This whole method seems fragile, but I did exhaustively test all of the supported sites, and they all work. So, this change is clearly an improvement.
6 years ago
Christopher K. Hoadley
bb66d6a992
Update Pinterest and WordPress user URLs to exactly match what the site ends up with. If the request does not have the trailing "/", then the site will forward us to that URL.
6 years ago
Christopher K. Hoadley
ae657460c8
Add coverage tests for all sites that use the response URL detection method. This test fails because Sherlock does not handle all of these sites properly.
6 years ago
Yahya SayadArbabi
fba27cd709
Merge pull request #134 from Czechball/master
...
Added asciinema demo
6 years ago
Czechball
6441005784
Merge https://github.com/TheYahya/sherlock
6 years ago
cclauss
0b3c5f2ba0
Fix the top of the deerstalker
...
https://en.m.wikipedia.org/wiki/Deerstalker
6 years ago
cclauss
a380e48057
Make BANNER an r'string' and move it up front
...
Sherlock has a cool logo so this PR moves it to the top of sherlock.py to show it off when potential contributors read our source. It also makes a BANNER an __r'string'__ so we do not need backslashes to escape characters and the ascii art is more what-you-see-is-what-you-get. This also suppresses [a bunch of flake8 complaints](https://travis-ci.com/TheYahya/sherlock/jobs/172028552#L490-L503 ) about _invalid escape sequences_. Finally this PR runs isort on the imports for readability. Standard Lib imports come first, etc.
6 years ago
Christopher Kent Hoadley
cb715a6447
Add Travis CI Status Image
6 years ago
Christopher Kent Hoadley
560f7991d0
Merge pull request #130 from cclauss/patch-5
...
Use Travis Continuous Integration to test all code changes
6 years ago
cclauss
b584a45966
Test files names do not comply with pytest discovery
6 years ago
cclauss
290e5efefc
Also try running the unittests with pytest
6 years ago
cclauss
11d262eee0
Add the new unittests to the Travis CI runs.
...
Add @hoadlck unittests.
6 years ago
cclauss
32693682e6
Use Travis Continuous Integration to run flake8 on all code changes
...
https://github.com/marketplace/category/continuous-integration
To start the automated testing of all pull requests, log into https://travis-ci.com/TheYahya using GitHub credentials and turn the repo switch ___on___.
Other tests can be added to the __script:__ section.
6 years ago
Christopher Kent Hoadley
ec8e32ed9a
Merge pull request #127 from TheYahya/hoadlck-tests-take2
...
Add Basic Testing Infrastructure
6 years ago
Christopher K. Hoadley
4c6bb61483
Update version number. This version does have basic tests.
6 years ago
Christopher K. Hoadley
f6860510ea
Add basic test infrastructure using unittest. Add tests to verify the 3 mechanisms of determining that a username is *not* supported on a given site.
...
Created SherlockBaseTest() class that provides infrastructure for the tests.
TODO: It seems that devRant is not detecting users that certainly exist.
TODO: While running tests, there is a ResourceWarning from an unclosed SSLSocket. This needs work.
6 years ago
Christopher Kent Hoadley
7c196a0d7a
Merge pull request #126 from TheYahya/hoadlck-close-file
...
Explicitly Close Result Text File
6 years ago
Christopher K. Hoadley
ee4cd8e14b
While running tests, I was getting a ResourceWarning about an unclosed file. The result file was not being closed, so it was a valid warning. Close the file to avoid this warning.
6 years ago
Yahya SayadArbabi
cc7127c8fc
Merge brach 'jusdepatate/patch-1'
6 years ago
Yahya SayadArbabi
d4e29b1327
bump version
6 years ago
Yahya SayadArbabi
e92225aaa2
Update license
6 years ago
Yahya SayadArbabi
4951151f4a
Merge branch 'HA71/master'
6 years ago
Yahya SayadArbabi
26a4d71875
Update readme
6 years ago
Jus de Patate
7eeaabf17e
Update sites.md
6 years ago
HATI
d24387e30a
Update sites.md
6 years ago
HATI
82bd042960
Update README.md
6 years ago
Jus de Patate
78818559b5
Add Star Citizen and EVE Online
6 years ago
Yahya SayadArbabi
9460bfbeed
Merge pull request #121 from JakeConnors376W/master
...
Improve README
6 years ago
JakeConnors376W
d71ce73b3c
Merge pull request #1 from JakeConnors376W/JakeConnors376W-update-documentation
...
Update README.md
6 years ago
JakeConnors376W
2ce0e01afa
Update README.md
...
Make more concise
6 years ago
Yahya SayadArbabi
efd8867e5e
Merge pull request #119 from theodosisathanasakis/readmebranch
...
install python3 and python3-pip if not exist
6 years ago
theodosisathanasakis
2e0bface8a
install python3 and python3-pip if not exist
6 years ago
HATI
2bb8b4876c
Update data.json
6 years ago
HATI
df6c323e4a
Update sites.md
6 years ago
HATI
b82a692886
Update data.json
6 years ago
HATI
33a65c57e1
Update sites.md
6 years ago
Tejasvi (Teju) Nareddy
ccf3b62a87
Merge pull request #92 from theodosisathanasakis/script
...
Script now supports Debian/Ubuntu, Arch, Fedora, CentOS/RHEL and OpenSUSE based distos
6 years ago