mirror of
https://github.com/Watchful1/PushshiftDumps.git
synced 2025-07-23 14:50:35 -04:00
Initial work on filter file
This commit is contained in:
parent
c7aa694631
commit
8dcc65abf7
2 changed files with 193 additions and 1 deletions
|
@ -31,7 +31,6 @@ def read_lines_zst(file_name):
|
|||
with open(file_name, 'rb') as file_handle:
|
||||
buffer = ''
|
||||
reader = zstandard.ZstdDecompressor(max_window_size=2**31).stream_reader(file_handle)
|
||||
#reader.read(40000000000)
|
||||
while True:
|
||||
chunk = read_and_decode(reader, 2**27, (2**29) * 2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue