It appears to have run
you are getting none from:
also, you need to supply a value to the command line e.g.
you are getting none from:
print(res.raise_for_status())after line 18, add:
for link in linkElems: print(f'link: {link}')so you can see if the soup.select (which is css select by the way) is finding anything
also, you need to supply a value to the command line e.g.
python -m myprog.py searchvalue