Skip to content

Instantly share code, notes, and snippets.

View read_warc.py
import hanzo.warctools.record as r
from http.client import HTTPResponse
from io import BytesIO
from bs4 import BeautifulSoup
from urllib.parse import urlparse
from collections import defaultdict
class FakeSocket():
def __init__(self, response_str):