from bs4 import BeautifulSoup
import requests
res = requests.get('http://www.thenextdoor.fr/en/4_adidas-originals').content
soup = BeautifulSoup(res)
atags = soup.find_all('a', {'class': 'add_to_compare'})
links = [atag['href'] for atag in atags]
keywords = ['adidas', 'thenextdoor', 'Uncaged']
for link in links:
    if all(keyword in link for keyword in keywords):
        pass
Scraping for href links