Christopher Kent Hoadley
d35675457d
Merge pull request #161 from crock/add-steamgroup-support
...
Added Steam Group support, Added .idea dir to .gitignore
6 years ago
Alex Crocker
a89b1d8b3a
changed test variables to match example
6 years ago
Alex Crocker
d4e1b6fc9b
added claimed/unclaimed keys for testing
6 years ago
Alex Crocker
5d2106c441
Added Steam Group support, Added .ideadir to .gitignore
6 years ago
Christopher Kent Hoadley
febcb0718d
Merge pull request #162 from TheYahya/hoadlck-test-speedup
...
Tests Speedup
6 years ago
Christopher K. Hoadley
c5a76da21d
Add VSCO to tests.
6 years ago
Christopher K. Hoadley
dfddfbc838
Add Vimeo to tests.
6 years ago
Christopher K. Hoadley
8c401b1a7b
Add Venmo to tests.
6 years ago
Christopher K. Hoadley
5bc6261a90
Fix YouPic detection. It was saying that usernames where available which were taken. Add to tests.
6 years ago
Christopher K. Hoadley
bc6bc0a8f1
Add BitBucket to tests.
6 years ago
Christopher K. Hoadley
dea8c29351
Change tests so that all sites that share a common username are executed in parallel. Just the little bit of extra processing halves the time taken for the tests (~15s verus ~34s). This will only get worse as the test coverage improves...
6 years ago
Christopher Kent Hoadley
5eb06e3502
Add Contribution File
...
I mainly wanted to add this file so that people adding new sites would add test usernames. But, this document should be filled out with more detail on the other types of changes....
6 years ago
Christopher Kent Hoadley
ec993fa941
Merge pull request #160 from TheYahya/hoadlck-json-driven-tests
...
JSON Driven Tests
6 years ago
Christopher K. Hoadley
ea90e7fa95
Bump version and add link to Wiki on procedure to add new sites.
6 years ago
Christopher K. Hoadley
bf0959d84b
Convert all supported Response URL sites to use JSON driven tests.
6 years ago
Christopher K. Hoadley
a576af358f
Convert all supported HTTP Status Code sites to use JSON driven tests.
6 years ago
Christopher K. Hoadley
be59b91107
Add information about a claimed and an unclaimed username to the site information. This will allow the tests to directly source the information from the JSON data. It will also allow people who add new sites to also add test data (which will automatically get tested). Add a new test method which finds all sites of a given detect algorithm, and which also has test vectors, and runs tests against them.
...
At the current time, the test vectors are optional. But, once when there is finally complete coverage, then they will be required. Anyone who adds a site without also adding test data will trigger a failure.
6 years ago
Yahya SayadArbabi
aa67a3d792
Merge branch 'eladbarack-master'
6 years ago
Yahya SayadArbabi
8a87513a0d
bump version
6 years ago
eladbarack
318736b61a
Added Investing.com & Twitch
6 years ago
Yahya SayadArbabi
7c34cd6ba1
Merge branch 'DigitallyBorn/master'
6 years ago
Yahya SayadArbabi
800431b424
bump version
6 years ago
Ricky Smith
d4dbc94267
Move to multi-stage docker build
...
Also add additional packages to the build container for hosts that don't know anything about python, like Docker Desktop on OSX/Windows.
6 years ago
Christopher Kent Hoadley
6b31cd87e3
Merge pull request #156 from TheYahya/hoadlck-tests-coverage
...
Add More Tests For Sites
6 years ago
Christopher K. Hoadley
7fb6d26cc7
Previous code was failing the flake8 tests because the random module was not imported.
6 years ago
Christopher K. Hoadley
83aed9aeee
Add test methods for Error Message detection method as well. Add Dribbble to tests.
6 years ago
Christopher K. Hoadley
6fc5c131db
Convert Designspiration to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
26ef2e1b9b
Convert Codementor to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
110b93a757
Convert Codecademy to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
223d9716cb
Convert BuzzFeed to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
08ac008828
Convert Behance to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
65e3820608
Convert Bandcamp to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
c76b4524da
Convert BLIP.fm to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
8a82d883c6
Convert AngelList to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
89787b1509
Add test methods for HTTP Status detection method as well.
6 years ago
Christopher K. Hoadley
bd941c8034
Convert Academia.edu to use the Status Code detection method. The site gives a clean 404 error.
6 years ago
Christopher K. Hoadley
f609320d3c
Convert Canva to the more robust Response URL detection method. Add to tests to ensure that it is covered.
6 years ago
Yahya SayadArbabi
916fdd0603
Merge branch 'BlucyBlue-master'
6 years ago
Yahya SayadArbabi
f69be05803
Rebase & bump version
6 years ago
BlucyBlue
465f4c85c3
Typo in printout when reading proxies from file.
6 years ago
BlucyBlue
9f523365f7
Finally importing load_proxies module.
6 years ago
BlucyBlue
8587d1a835
If the ProxyError gets raised in the 'get_response' function, the request will be tried with another proxy selected from the 'proxy_list' global var. New parameter 'retry_no' is the number of retries that will be made before throwing a final ProxyError.
6 years ago
BlucyBlue
6bf8358342
Set new parameter 'retry_no' of the 'get_response' function to 3 (can be changed). This will be used if retrying a ProxyError.
6 years ago
BlucyBlue
855f154d9b
If the 'proxy_list' we select a random member and pass it as the proxy to the session. If the list is empty, the proxy parameter will be set to arg.proxy, which defaults to None if the user did not pass an individual proxy as well.
6 years ago
BlucyBlue
2accdcafea
If the user selected --check_proxies option along with --proxy_list option, proxies loaded from the .csv file are checked using the check_proxies function from the load_proxies module. Proxies which pass the test are stored in the proxy_list global var.
6 years ago
BlucyBlue
6cc4e22898
If the user selected --proxy_list option, we attempt to read proxies from the csv, and store the list in global var proxy_list.
6 years ago
BlucyBlue
bd683022b3
Exception is raised if both a single proxy and the proxy_list are used. As needed, this can be changed to merging the single proxy with the proxy list, but seems a bit unnecessary at this time.
6 years ago
BlucyBlue
dc32d473e0
Exception will now be raised if etiher a single proxy or proxy_list options are used along with Tor.
6 years ago
BlucyBlue
c5e06b068e
Added two new arguments, '--proxy_list'/'-pl' and '--check_proxies'/'-cp', for users to activate options of reading proxies from a document (at this time, only .csv is supported), and check their anonimity before using them.
6 years ago
BlucyBlue
166d224423
First change to 'sherlock.py' for use of load_proxies module. Global variable proxy_list is created, and by default set to an empty list. This variable will store proxies from a proxy list (if this option is used), and will enable different threads to access proxies at the same time.
6 years ago