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 895df94 commit 145fdc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.py
Expand Up @@ -58,13 +58,14 @@

for pagenum in range(1):
html = response.read()
print html
#print html
#comp = re.search(r'MainContent_CompanyTicker(\w{3,}\.AX)span', html).group(0)
#ASX_Code = '3PL.AX'

#print re.findall(r'MainContent_signalpagehistory_PatternHistory24((.)+)\<\\table\>', html)
#test1 = re.findall(r'Day\'s Volume(.*)>(.*)<(.*)endcol', html)
test1 = re.findall('(Day\'s Volume)(.*?)>(.*?)<(.*?)(endcol)', html)
#test1 = re.findall('(Day\'s Volume)(.*?)>(.*?)<(.*?)(endcol)', html)
test1 = re.findall(r'Day\'s Volume(.*)endcol', html)
print test1

# if test1:
Expand Down

0 comments on commit 145fdc8

Please sign in to comment.