Skip to content

Commit

Permalink
consider relative url substring to compose the absolute one
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Jan 16, 2018
1 parent eee749d commit f2c86da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper/scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
elif (c == 5):
if (row.contents[c].a):
print('File URL:', row.contents[c].a.get('href'))
print('Complete File URL:', baseURL + row.contents[c].a.get('href'))
print('Complete File URL:', baseURL + row.contents[c].a.get('href')[2::])
else:
print(c, column)

Expand Down

0 comments on commit f2c86da

Please sign in to comment.