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.RecordHeaderobject. - block (RecordBlock) – A
basc_warc.RecordBlockobject.
- record_type (string) – Name of this type of record. ie: