Skip to content

CodeAx1avek/Link-extractor-from-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Grabber From Website 👋

License: mit Twitter: asdasd

To create a README for this code, I would suggest providing an overview of what the code does, how to use it, and any dependencies it requires.

##installation

 git clone https://github.com/CodeAx1avek/Link-extractor-from-url
 cd Link-extractor-from-url
 ls

Usage

python link_grabber.py <url> [--depth <n>]

Arguments:
  • <url> : This URL of the website to extract links from.
  • --depth <n> (Optional) : The maximum depth to follow links. Default is 1.

Example usge:

python link_grabber.py https://example.com --depth 2

Dependencies

This script requires the following Python modules:

  • requests
  • pyfiglet

You can install these modules using pip:

pip install requests pyfiglet

😎 Improvements

The modified code improves the original by using argparse for command-line arguments, requests instead of urllib, error handling, parallelization, depth limit, and a function for parsing.

🚀 Future Work

  • Add support for specifying output file or directory
  • Implement progress bar for displaying progress during link extraction
  • Add option for excluding certain types of links (e.g., images, videos)
  • Improve error handling and reporting

If you have any suggestions for further improvements or feature requests, please feel free to create an issue or submit a pull request.



🤝 Contributing

Contributions, issues and feature requests are welcome!



❤️ Show your support

Give a ⭐️ if this project helped you!

⚖️ License

Copyright © 2023 CodeAx1.

This project is MIT licensed.

About

All link will be ectracted using this python tool

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages