Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 483 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 483 Bytes

Links Extractor

Objective

This script automate extracting URLs from any .txt file content based on regex expression then exporting the extracted urls in .txt output file separated by line separator.

Sample

  • Sample input available in sample/sample_text_file.txt
  • Sample output available in sample/sample_text_file_links.txt

Requirements

pip install requirements.txt

How to run the script?

python links_extractor.py file_name.txt