>>>import os >>>from fastwarc.stream_io import * >>>from warcio.archiveiterator import ArchiveIterator >>>filepath = "./roblox.warc.gz" >>>stream = GZipStream(open(filepath, 'rb')) >>>archive_iter = ArchiveIterator(stream) >>>record.rec_type 'response' >>>record = next(archive_iter) >>>test =record.raw_stream.read() >>>test b'\r\n\r\n\r\n\r\n\r\n\r\n\tRoblox\r\n\r\n\r\n\r\n \r\n ROBLOX Forum\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n\r\n'