Skip to content

Commit 7999c95

Browse files
committed
update .py
1 parent 866d464 commit 7999c95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

automaticwebsiteurlscraper.py/webUrlscraper.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
if 'href' in str(link):
2727
templist = str(link).split("href")
2828
index1 = templist[-1].index("\"")
29-
index2 = templist[-1][index1 + 1 : ].index( "\"" )
29+
index2 = templist[-1][index1 + 1 :].index( "\"" )
3030
finalLinks.append(templist[-1][index1 : index2 + 3])
3131
print("Here are your final links")
3232
# printing the final completed list
33-
for i in finalLinks:
33+
for i in finalLinks :
3434
print(i)
35-
except Exception as e:
36-
print(str( e ))
35+
except Exception as e :
36+
print(str(e))

0 commit comments

Comments
 (0)