Skip to content

Instantly share code, notes, and snippets.

@dario61081
Created March 16, 2017 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dario61081/94d20514552609ef70166fb05b52dbd7 to your computer and use it in GitHub Desktop.
Save dario61081/94d20514552609ef70166fb05b52dbd7 to your computer and use it in GitHub Desktop.
Traer las cotizaciones del banco ejemplo
from bs4 import BeautifulSoup
import requests
url = 'https://www.visionbanco.com/personas/servicios/mesa-de-cambios'
f = requests.get(url)
soup = BeautifulSoup(f.content, 'html.parser')
for item in soup.find_all('tr'):
for p in item.find_all('p'):
print p.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment