__author__ = 'Isaiah'
import random as ran
from bs4 import BeautifulSoup
urlmain = input("Enter a url to take all images from -> ")
r = requests.get(urlmain)
soup = BeautifulSoup(r.text)
src = 
for link in soup.find_all('img'):
rannum = ran.randrange(1, 1000)
filename = str(rannum) + ".jpg"
url = link.get('src')
finalurl = "https://buckysroom.org" + url
this is the code extremely simple if you ask me
uses 3 external libraries which are: