Skip to content

Instantly share code, notes, and snippets.

@SharadKumar97
Last active December 29, 2020 07:56
Show Gist options
  • Save SharadKumar97/a3d6ba8cf53c26c89fdd23ac4372ab59 to your computer and use it in GitHub Desktop.
Save SharadKumar97/a3d6ba8cf53c26c89fdd23ac4372ab59 to your computer and use it in GitHub Desktop.
This script will fetch out all the hyperlinks from particular website.
#########################################
#This script is made for Tutorialspoint.#
#This will fetch all the url's of targe.#
#website. #
#Usage - #
# ./url_spidy.py target_address #
# #
#########################################
import urllib2
from bs4 import BeautifulSoup
import sys
data=urllib2.urlopen(sys.argv[1])
new_data=data.read()
bt=BeautifulSoup(new_data,"html.parser")
for link in bt.find_all('a'):
print (link.get('href'))
@bilalProgTech
Copy link

https://gist.github.com/bilalProgTech Encryption Algorithm using fibonacci series

@championkali
Copy link

SharadKumar he always give the best....I learn a lot from him...he is the boss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment