ocssw
V2022
|
SessionUtils.py File Reference
Go to the source code of this file.
Classes | |
class | SessionUtils |
Namespaces | |
seadasutils.SessionUtils | |
Functions | |
def | base_url (url) |
def | full_url (url, link) |
def | is_page (url) |
def | retry (func, *args, **kwargs) |
def | thiscall () |
def | set_mtime (filepath, mtime) |
def | getlinks_html (content, regex='') |
def | getlinks_json (content, regex='') |
def | print_response (response) |
def | is_html (response) |
def | is_json (response) |
def | url_mtime (response) |
Variables | |
int | python2 = sys.version_info.major < 3 |
url = sys.argv[1] | |
bool | debug = False |
format | |
level | |
s = SessionUtils(verbose=True) | |