Created
November 12, 2018 04:34
-
-
Save nengkya/5ccc20d966a1cad871bcfef9394bafdf to your computer and use it in GitHub Desktop.
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
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'})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment