How do I make this Link Parser run?

my repo

so im learning how to make a scraper and i got this code online but i dont know how to make it run.

it says the attrs argument needs to have a (key, value). i know what key-value pairs are but what exactly is this method looking for?

If I had to guess, I’d assume that attrs is a list of html attributes such as href = "" where “href” would be key and “” is value.

i put the attr and link in brackets and it fixed the error but when i run it nothing happens. any clue why?

Why do you have those two python files in the env folder? Shouldn’t they be in the root folder?