elm.web.utilities

ELM Web Scraping utilities.

Module attributes

DEFAULT_HEADERS

Default HTML header template

Functions

clean_search_query(query)

Check if the first character is a digit and remove it if so.

compute_fn_from_url(url[, make_unique])

Compute a unique file name from URL string.

filter_documents(documents, validation_coroutine)

Filter documents by applying a filter function to each.

pw_page(browser[, intercept_routes, ...])

Create new page from playwright browser context

write_url_doc_to_file(doc, file_content, out_dir)

Write a file pulled from URL to disk.