Crawliexpress is a Python library command line application to retrieve data from Aliexpress listings.
Clone this repo and install the dependecies located on 'requirements.txt'
pip install -r requirements.txt
Navigate to the repository folder and run the file with python
python crawliexpress -l pt_BR reviews -p 4000592298467 # Reviews translated to Brazillian Portuguese for the product with the ID '4000592298467'
python crawliexpress product -p 4000592298467 # Listing info for the product with the ID '4000592298467'
python crawliexpress categories -t 10 # Top 10 best selling products crawling all categories
Documentation for each specific command available
Options:
-r, --region TEXT Region code [CC]
-c, --country TEXT Country code [ccc]
-l, --locale TEXT Language/Country code [lc_CC]
-cr, --currency TEXT Currency code [CCC]
--help Show this message and exit.
Commands:
categories Best-selling products from all categories
product Listing info of a specific product
reviews Reviews of a specific product
Crawls the first page of all Aliexpress categories and returns an Object List [{}]
with -t
length with the best selling products.
Options:
-t, --top INTEGER Top listing size
--help Show this message and exit.
Crawls the -p
product page and returns object with listing info.
Options:
-p, --product-id TEXT Target product id [required]
--help Show this message and exit.
Crawls the -p
product page and returns an Object List [{}]
with custommer reviews.
Options:
-p, --product-id TEXT Target product id [required]
-o, --only-from-my-country TEXT Only reviews from the selected contry
-m, --max-pages INTEGER Maximum ammount of review pages
-t, --translate / -nt, --no-translate Translate to selected language
--help Show this message and exit.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.