diff --git a/Scripts/bkm_scrape_categories.py b/Scripts/bkm_scrape_categories.py index a602f46..c2876b2 100644 --- a/Scripts/bkm_scrape_categories.py +++ b/Scripts/bkm_scrape_categories.py @@ -30,7 +30,7 @@ def scrape_categories(): soup = BeautifulSoup(html_icerigi, "html.parser") kategori=soup.find_all("a", class_=["w-100 d-block block-title"]) for a in range(len(kategori)): - link = {'name': str(kategori[a].text), 'url': str(site + "" + (kategori[a]['href']))} + link = {'name': str(kategori[a].text), 'url': str(site + "" + (kategori[a]['href'])+'?&stock=1')} links.append(link) logging.debug("Found category: %s", link)