Yahya SayadArbabi
01c5a2da23
Bump version
2019-07-17 19:26:15 +04:30
Yahya SayadArbabi
75d60ce28b
Bump version
2019-07-17 19:23:22 +04:30
Christopher K. Hoadley
76b6a579bb
Update site list and ranking. Update version.
2019-07-17 07:19:58 -05:00
Siddharth Dushantha
b1b561981a
removed the unnecessary banner
2019-07-17 10:31:42 +02:00
Siddharth Dushantha
723ca405e5
Merge pull request #226 from sp1rs/invalid-url-on-print-found-flag
...
Don't show invalid/error social site if --print-found flag is enabled.
2019-07-16 15:42:31 +02:00
Christopher K. Hoadley
8bb9386aca
Update version.
2019-07-16 06:40:16 -05:00
Christopher K. Hoadley
77d62bca10
Fix Error When csv Is Written When Username Is Illegal For A Site
...
This problem happens during the write to the CSV. There are various results that are gathered during the query for the existence of a given site, and they are always expected to exist in the results dictionary. However, if a given user name has an illegal format for a given site, then the query is not even attempted. Which leaves some keys in the dictionary undefined.
The solution is to define these keys even in the case where the username has an illegal format.
2019-07-16 06:35:57 -05:00
Christopher K. Hoadley
cc163ce0ef
Update site list and ranking. Update version.
2019-07-14 11:02:36 -05:00
Christopher K. Hoadley
5731a7bafc
Update site list and ranking. Update version.
2019-07-14 02:53:58 -05:00
Christopher K. Hoadley
e45e0d0c18
Merge branch 'pr/n225_sp1rs'. Update site list and readme.
...
# Conflicts:
# sites.md
2019-07-13 09:56:41 -05:00
Christopher K. Hoadley
e9d7a45ca0
Update site list and ranking. Update version.
2019-07-13 09:32:35 -05:00
sp1rs
ed08f979f0
Don't show invalid/error social site if --print-found flag is enabled.
2019-07-12 00:47:25 +05:30
Christopher K. Hoadley
485676fc36
Update site list and ranking. Update version.
2019-07-10 23:05:18 -05:00
Christopher K. Hoadley
3276e97327
Update site information. Fix ResearchGate test username for unclaimed. The old value did not pass the regular expression check.
2019-06-25 23:34:41 -05:00
Christopher K. Hoadley
7f2d3520d2
Update site list and ranking. Update version.
2019-06-08 09:26:26 -05:00
Christopher K. Hoadley
63fae2902e
Update site list and ranking. Update version.
2019-05-28 07:27:35 -05:00
Christopher K. Hoadley
f96febcd3a
Update version information.
2019-05-22 07:41:35 -05:00
Christopher K. Hoadley
75c3a1622f
Update version to document the great f-string renaissance of 2019. :)
2019-05-15 07:41:57 -05:00
Christopher K. Hoadley
3b6cb1d4d9
Try to back out "Fix stray f's that break on Linux" #198 . The user was getting a syntax error from the format strings (probably from using an old version of Python). But, blindly removing the f-strings broke the actual functionality.
2019-05-15 07:39:39 -05:00
snehankekre
92d39f855a
Fix stray f's that break on Linux
2019-04-10 14:45:55 +05:30
Christopher K. Hoadley
a8f1891028
Update list of supported sites and ranking. Update version number.
2019-04-07 20:51:47 -05:00
Christopher K. Hoadley
ed08886982
Update rank and version information.
2019-04-07 11:26:11 -05:00
Christopher K. Hoadley
66f19f8c7b
Update ranking results. Update version information.
2019-03-31 11:07:59 -05:00
Christopher K. Hoadley
76578d83a7
Add "urlProbe" to data area. While the results for YouNow work after putting the API URL in the "url" area, the printed results do not display properly. So, I needed to introduce the concept of a probe URL separate from the actual user URL.
2019-03-31 10:59:24 -05:00
Yahya SayadArbabi
55b1fa5c44
bump version
2019-03-08 16:11:25 +03:30
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
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
bbc056cd1d
Bump version
2019-02-27 11:48:37 +03:30
Tait Hoyem
74eefe02ca
Rename option to --print-found
2019-02-26 16:54:49 +00:00
Tait Hoyem
2750538e2e
Add option to not show 'Not Found!' messages.
2019-02-26 04:35:52 +00:00
Christopher K. Hoadley
0f8e734d78
Bump version.
2019-02-21 07:15:44 -06:00
Christopher K. Hoadley
4fa8de4758
Update version.
2019-02-16 19:49:21 -06:00
Yahya SayadArbabi
a27c0a855e
bump version
2019-02-16 04:00:24 +03:30
Christopher K. Hoadley
ea90e7fa95
Bump version and add link to Wiki on procedure to add new sites.
2019-02-02 21:24:46 -06:00
Yahya SayadArbabi
8a87513a0d
bump version
2019-02-02 17:49:46 +03:30
Yahya SayadArbabi
800431b424
bump version
2019-02-01 21:57:40 +03:30
Christopher K. Hoadley
7fb6d26cc7
Previous code was failing the flake8 tests because the random module was not imported.
2019-01-30 18:37:03 -06:00
Yahya SayadArbabi
f69be05803
Rebase & bump version
2019-01-29 10:11:18 +03:30
BlucyBlue
465f4c85c3
Typo in printout when reading proxies from file.
2019-01-29 10:10:31 +03:30
BlucyBlue
9f523365f7
Finally importing load_proxies module.
2019-01-29 10:10:31 +03:30
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.
2019-01-29 10:10:31 +03:30
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.
2019-01-29 10:10:31 +03:30
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.
2019-01-29 10:10:31 +03:30
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.
2019-01-29 10:10:06 +03:30
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.
2019-01-29 10:10:06 +03:30
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.
2019-01-29 10:10:06 +03:30
BlucyBlue
dc32d473e0
Exception will now be raised if etiher a single proxy or proxy_list options are used along with Tor.
2019-01-29 10:10:06 +03:30