Skip to content

Instantly share code, notes, and snippets.

@youweit
Created August 12, 2013 06:37
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 youweit/6208658 to your computer and use it in GitHub Desktop.
Save youweit/6208658 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
# -*- encoding: utf-8-*-
from bs4 import BeautifulSoup
import urllib2
def main():
data = urllib2.urlopen('https://play.google.com/store/apps/details?id=com.sparkslab.ourcitylovereporter')
html = data.read()
soup = BeautifulSoup(html)
for div in soup.find_all('div',{'itemprop':'softwareVersion'}):
print div
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment