Back to Python Mini Projects

All Links from given Webpage

projects/All_links_from_given_webpage/README.md

latest538 B
Original Source

All Links from given Webpage

This script retrieves all links from a given Webpage and saves them as a txt file

Prerequisites

Required Modules

  • BeautifulSoup4
  • requests

to install:

$ pip install -r requirements.txt

How to run the script

bash
$ python get_links.py

You will then be asked which webpage you would like to analyze. After that the extracted links will be saved as an array in myLinks.txt.

Author Name

Mitesh & Michael Mba