Last active
April 14, 2021 19:44
-
-
Save jorgezanguettin/d761188ae1551ed2526b3ed1b720ee91 to your computer and use it in GitHub Desktop.
analisar_requisicao_partial_1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
analisar_requisicao(conteudoRequisicao): | |
objetoBs4 = BeautifulSoup(conteudoRequisicao, 'html.parser') | |
marcas = objBs4.find_all('div', {'class': 'product-box-brand'}) | |
nomes = objBs4.select('div.catalog-content p.product-box-title') | |
links = objBs4.find_all('a', { | |
'class': 'product-box-link is-lazyloaded image product-image-rotate' | |
}) | |
precos = objBs4.find_all('span', {'class': 'product-box-price-from'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment