Skip to content

Commit f2c86da

Browse files
committed
consider relative url substring to compose the absolute one
1 parent eee749d commit f2c86da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scraper/scrape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
elif (c == 5):
3636
if (row.contents[c].a):
3737
print('File URL:', row.contents[c].a.get('href'))
38-
print('Complete File URL:', baseURL + row.contents[c].a.get('href'))
38+
print('Complete File URL:', baseURL + row.contents[c].a.get('href')[2::])
3939
else:
4040
print(c, column)
4141

0 commit comments

Comments
 (0)