Update warc_wat_url_processor.py
This commit is contained in:
parent
875082e8d9
commit
d0fa7c84f4
@ -48,6 +48,7 @@ def process_file(file_path):
|
||||
|
||||
# Extract URLs from the gzipped file
|
||||
urls = extract_urls_from_file(file_path)
|
||||
print(f"Extracted {len(urls)} URLs from {file_path}")
|
||||
|
||||
# Create the output file path with '_urls.txt' extension
|
||||
output_file_path = os.path.splitext(file_path)[0] + '_urls.txt'
|
||||
|
Loading…
Reference in New Issue
Block a user