Skip to content

Files

Latest commit

 

History

History

links_extractor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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