Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ Get the price from LCSC.com for some items


🐍🕸️ The LCSC-Python-WebScraper is a program that allows you to get the prices of items from LCSC.com. By using web scraping techniques with Python, you can easily gather the information you need for your purchasing decisions. With this program, you can save time and effort by avoiding the need to manually search for prices.

## Requirements
- Python3

## Installation

```pip install -r req.txt```
Expand Down
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fileLocation = "output/"
delayBetweenPriceCheck = 120
delayBetweenPriceCheck = 120
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ def autoscrapper():
lcscscraper(i["url"], i["span"], i["fronttext"])
time.sleep(config.delayBetweenPriceCheck)

autoscrapper()
if __name__ == '__main__':
autoscrapper()
4 changes: 3 additions & 1 deletion req.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
bs4
requests
datetime
time
time
pandas
openpyxl