Migrated_Keyword_URL_Extractor/README.md
2023-12-12 10:03:45 +00:00

994 B

Overview:

Use the following scripts to extract urls from .txt.gz files and output to a txt file.

Requirements:

  • Python3

Steps:

  1. Git Clone the Repository.
  2. Run url_extractor.py against the directory of txt.gz files you are wanting to process. The script will ask for you to enter the location of the files, where you want to store the output and the concurrency to run the script at.
  3. Once the script has completed running, verify the output of the file.

Notes:

  • The script is hardset to stream the txt files from the location and process it line by line migitating the need for large files to be loaded into RAM.
  • Running the script over the network is fine and performance appears to not be impacted. When running against CommonCrawl WAT files it has been identified that a 1Gbit link can be saturated with 12 concurrent processes on an i7. The CPU still has additional capacity.