initial
Browse files- common_crawl.py +1 -1
common_crawl.py
CHANGED
@@ -85,4 +85,4 @@ class CommonCrawl(datasets.GeneratorBasedBuilder):
|
|
85 |
if record.rec_type == 'response' and record.http_headers.get_header('Content-Type') == 'text/html':
|
86 |
text = _decode_text(record.content_stream().read())
|
87 |
if text is not None:
|
88 |
-
yield number, {"id":
|
|
|
85 |
if record.rec_type == 'response' and record.http_headers.get_header('Content-Type') == 'text/html':
|
86 |
text = _decode_text(record.content_stream().read())
|
87 |
if text is not None:
|
88 |
+
yield number, {"id": number, "text": text}
|