Skip to content

Instantly share code, notes, and snippets.

@ArkovKonstantin
Created July 18, 2018 00:27
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 ArkovKonstantin/61573ec6d7564c313b04fdb3bb4377ff to your computer and use it in GitHub Desktop.
Save ArkovKonstantin/61573ec6d7564c313b04fdb3bb4377ff to your computer and use it in GitHub Desktop.
from grab import Grab
g = Grab()
g.go('https://www.python.org/')
for i in g.doc.select('//*[@id="content"]/div/section/div[2]/div[2]/div/ul/li'):
print(i.text())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment