Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mai0li's full-sized avatar
🏇
xgh development

Pedro Maioli mai0li

🏇
xgh development
  • Devnology
  • low Earth orbit
  • X @mai0li
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mai0li on github.
  • I am maioli (https://keybase.io/maioli) on keybase.
  • I have a public key ASCxNnIHkQe77i7xopvGeflcdlCRmrzn8wbTeTTh5KjgDAo

To claim this, I am signing this object:

@mai0li
mai0li / taQuanto.py
Created February 2, 2021 08:21
Consulting AAPL stock prices in BVMF in Python
from requests_html import HTMLSession
from bs4 import BeautifulSoup
import lxml
session = HTMLSession()
link = session.get('https://www.google.com/search?q=aapl34')
html = BeautifulSoup(link.text, 'lxml')
valor = html.find('span', class_='IsqQVc')
print(valor.text)