Skip to content

Commit

Permalink
URL add parameter : stock=1
Browse files Browse the repository at this point in the history
  • Loading branch information
fzozyurt committed Dec 28, 2024
1 parent 43190f9 commit 77b183b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/bkm_scrape_categories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 77b183b

Please # to comment.