Skip to content

Instantly share code, notes, and snippets.

View nengkya's full-sized avatar
🏠
Working from home

Hasna Dzakiyya Makin nengkya

🏠
Working from home
View GitHub Profile
import requests
from bs4 import BeautifulSoup
keyword = 'iphone'
r = requests.get(
' https://render-tron.appspot.com/render/https://www.bhinneka.com/search%3Fq%3D' +
keyword)
soup = BeautifulSoup(r.content, 'html.parser')
print(soup.find_all('div', {'id': 'catalogueProduct'}))