eddie14 commited on
Commit
874d847
1 Parent(s): 204b48f
Files changed (1) hide show
  1. 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": nu
 
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}