Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from urllib.request import Request, urlopen
- from bs4 import BeautifulSoup as soup
- print(' ')
- print(' _____ _______ _ ')
- print(' | __ \ |__ __| | | ')
- print(' | |__) |__ _ ___| | ___ _ __ _ __ ___ _ __ | |_ ')
- print(' | _ // _` / __| |/ _ \| \'__| \'__/ _ \ \'_ \| __| ')
- print(' | | \ \ (_| \__ \ | (_) | | | | | __/ | | | |_ ')
- print(' |_| \_\__,_|___/_|\___/|_| |_| \___|_| |_|\__| ')
- print(' ')
- print(' ')
- print(' ')
- print(' 1) Buscar Pelicula ')
- print(' 99) Info ')
- print(' ')
- print(' ')
- respuesta = input("Seleccione una opción: ")
- if respuesta == 99:
- print('Introduce la pelicula separado por espacios y sin caracteres especiales.')
- else:
- pelicula = input("Pelicula a buscar: ")
- url = 'https://www.google.es/'
- req = Request(url, headers={'User-Agent': 'Mozilla/5.0'})
- webpage = urlopen(req).read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement