Skip to main content

ContentType

crawlee._utils.file.ContentType

Index

Enumeration Members

Enumeration Members

JSON

JSON: r'^application/json'

matches

matches: undefined

Check if the content type matches the enum's pattern.

TEXT

TEXT: r'^text/'

XML

XML: r'^application/.*xml$'