2. basc_warc.Record
— WARC Records¶
You use this class to create and add new records.
2.1. Creation¶
These functions let you add standard types of records easily.
-
class
basc_warc.
Record
(record_type, header=None, block=None)¶ A record in a WARC file.
Parameters: - record_type (string) – Name of this type of record. ie:
'warcinfo'
. - header (RecordHeader) – A
basc_warc.RecordHeader
object. - block (RecordBlock) – A
basc_warc.RecordBlock
object.
- record_type (string) – Name of this type of record. ie: