Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed Dec 14, 2015
1 parent b2a4f57 commit b2962a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scraper.py
Expand Up @@ -66,8 +66,10 @@
#test1 = re.findall(r'Day\'s Volume(.*)>(.*)<(.*)endcol', html)
#test1 = re.findall('(Day\'s Volume)(.*?)>(.*?)<(.*?)(endcol)', html)
test1 = re.search(r'Day\'s Volume(.*?)<br \/><\/div>', html).group(0)
test2 = re.findall(r'(\">|\'>)(.*)<\/', test1)
print test2
test2 = re.findall(r'(\">|\'>)(.*?)<\/', str(test1.replace(" ", "")).replace("><", ""))
test3 = re.findall(r'>(.*?)<', test2)

print test3

# if test1:
# test1 = test1.group(0)
Expand Down

0 comments on commit b2962a8

Please sign in to comment.