Skip to content

Commit

Permalink
Resolved the syntax error related to the scrape.py file (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinijha6 authored Jun 1, 2020
1 parent 09391d7 commit 8708d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def display_links(self):
links = self.soup.find_all("a")
print(Fore.LIGHTGREEN_EX + "LINKS: " + Fore.RESET + "\n")
for ind, val in enumerate(links):
print((Fore.CYAN + val.text +f"_link{ind+1}: " + Fore.RESET) + val.attrs["href"])
print((Fore.CYAN + val.text + "_link{ind+1}: " + Fore.RESET) + val.attrs["href"])

0 comments on commit 8708d44

Please sign in to comment.