ptalmeida
0b96141df0
Merge remote-tracking branch 'upstream/master'
6 years ago
Yahya SayadArbabi
2408bb520e
Merge branch 'UltraWelfare/optional_output'
6 years ago
George Tsomlektsis
0e6b8d0dca
Added optional parameters for outputting files and folders.
6 years ago
George Tsomlektsis
f511faab23
Added the ability to load external json files.
6 years ago
ptalmeida
9c45146da1
remove unused import
6 years ago
ptalmeida
cc2b1cb27a
Improve terminal appearence for site_list.py
6 years ago
ptalmeida
40fc51fc32
add rank paramether to site_list.py
...
--rank or -r to update all page ranks
6 years ago
ptalmeida
ad4c321f3f
Correct print look
6 years ago
ptalmeida
04ee711872
Merge remote-tracking branch 'upstream/master'
6 years ago
ptalmeida
46705ad0a1
Add Alexa.com rank updating functionality to site_list.py
6 years ago
Christopher Kent Hoadley
eae4da7294
Merge pull request #144 from TheYahya/hoadlck-fix-more-sites
...
Fix EyeEm/CreativeMarket/EVE Online False Positives
6 years ago
Christopher K. Hoadley
0709fd3947
Change EyeEm/CreativeMarket/EVE Online detection method to use the newly refurbished "response_url" detection method.
6 years ago
Christopher K. Hoadley
b237b8fe02
Problems with false positives on EyeEm/CreativeMarket/EVE Online. Add these sites to the tests to capture failure.
6 years ago
Yahya SayadArbabi
eec1779a3f
Merge pull request #143 from Czechball/master
...
Updated asciinema
6 years ago
Czechball
4e11364508
Updated asciinema
6 years ago
Yahya SayadArbabi
cd50d34e2e
Merge branch 'ptalmeida-master'
6 years ago
Yahya SayadArbabi
7a93f73b23
bump version
6 years ago
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