|
ocssw
V2022
|
JsonUtils.py File Reference
Go to the source code of this file.
Classes | |
| class | SessionUtils |
Namespaces | |
| seadasutils.JsonUtils | |
Functions | |
| def | base_url (url) |
| def | full_url (url, link) |
| def | is_page (url) |
| def | retry (func, *args, **kwargs) |
| def | set_mtime (filepath, mtime) |
| def | linkdict (rows) |
| def | link_mtime (mtime) |
| def | getlinks_json (content) |
| def | needs_download (link, filepath, check_times=False) |
| def | is_json (response) |
| def | ok_status (response) |
Variables | |
| url = sys.argv[1] | |
| sessionUtil = SessionUtils() | |
| links = sessionUtil.get_links(url) | |


