Skip to content

Commit 87d8e4d

Browse files
committed
.py
1 parent 63bea64 commit 87d8e4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

automaticwebsiteurlscraper.py/webUrlscraper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
if 'href' in str(link) :
2727
templist = str(link).split("href")
2828
index1 = templist[-1].index("\"")
29-
index2 = templist[-1][index1 + 1 : ].index( "\"" )
30-
finalLinks.append(templist[-1] [index1 : index2 + 3 ] )
29+
index2 = templist[-1][index1 + 1 : ].index("\"")
30+
finalLinks.append(templist[-1][index1 : index2 + 3])
3131
print("Here are your final links")
3232
# printing the final completed list
3333
for i in finalLinks :

0 commit comments

Comments
 (0)