This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def GTDU(u, timeout, RT = 0, CE = 0, headers = None): | |
| try: | |
| r = requests.get(u, timeout = timeout, headers = headers) | |
| return r | |
| except requests.exceptions.ReadTimeout: | |
| RT += 1 | |
| if RT<5: | |
| r = GTDU(u, timeout, RT = RT, CE = CE, headers = headers) | |
| return r | |
| else: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from apartmentSearchProvider import searchExposes | |
| from internetprovider import CheckIfInetProviderOffersBestInternet | |
| closer_cosideration = [] | |
| exposes = searchExposes(desiredRegion) | |
| for expose in exposes: | |
| address = expose.address | |
| bestinet = CheckIfInetProviderOffersBestInternet(address) | |
| if bestinet is True: | |
| closer_consideration.append(expose) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Test | |
| // @version 1.0.0 | |
| // @namespace @XOR | |
| // @include *google.com* | |
| // @grant GM.notification | |
| // @grant GM.openInTab | |
| // @grant GM.setClipboard | |
| // ==/UserScript== |
NewerOlder