obs_img_utils.web_content module

class obs_img_utils.web_content.WebContent(uri)[source]

Bases: object

Web Content Scanner and Download interface

__dict__ = mappingproxy({'__module__': 'obs_img_utils.web_content', '__doc__': '\n    Web Content Scanner and Download interface\n    ', '__init__': <function WebContent.__init__>, 'fetch_index_list': <function WebContent.fetch_index_list>, 'fetch_to_dir': <function WebContent.fetch_to_dir>, 'fetch_file_name': <function WebContent.fetch_file_name>, '_manage_fetch_index_list': <function WebContent._manage_fetch_index_list>, 'fetch_json_list': <function WebContent.fetch_json_list>, '_manage_fetch_json_list': <function WebContent._manage_fetch_json_list>, '__dict__': <attribute '__dict__' of 'WebContent' objects>, '__weakref__': <attribute '__weakref__' of 'WebContent' objects>, '__annotations__': {}})
__init__(uri)[source]
__module__ = 'obs_img_utils.web_content'
__weakref__

list of weak references to the object (if defined)

_manage_fetch_index_list(base_name, href_prefix='')[source]
_manage_fetch_json_list(base_name, urlparam='jsontable')[source]
fetch_file_name(base_name, regex, extensions)[source]
fetch_index_list(base_name)[source]
fetch_json_list(base_name)[source]
fetch_to_dir(base_name, regex, target_dir, extensions, callback=None)[source]