Semiconductor data crawler
322
Run docker stack deploy -c stack.yml mysql (or docker-compose -f stack.yml up), wait for it to initialize completely, and visit http://swarm-ip:8080, http://localhost:8080, or http://host-ip:8080 (as appropriate).
php run.php [options...] sub-command [args...] [--] [params]
Options:
-f, --fresh Fresh start with new database
-h, --help This help
args... Arguments passed to script
params... Parameters passed to script. Use -- when first parameter
Init all categories.
php run.php initAllCategory
Init all products with given manufacturer.
php run.php initProductByManu infineon-technologies-ag
Init all products with given manufacturer and product line.
php run.php initProductByManuPL infineon-technologies-ag "IGBT Chip"
Fresh start with new database and only init 10 rows.
php run.php -f initProductByManu infineon-technologies-ag -- limit=10
Fresh start with new database and only init 10 rows.
php run.php initProductByPL "IGBT Chip" -- limit=10
Dump json file for Tencent Cloud.
php run.php dumpTxCloudJson
Content type
Image
Digest
Size
40.7 MB
Last updated
almost 8 years ago
docker pull fatindeed/semi-data-crawler