Ejemplo n.º 1
0
def all_go(task_code, task_id, url="https://industrial.panasonic.cn/ea/products/capacitors/film-capacitors/film-cap-electroequip#quicktabs-line_up_page_tab=1"):
    product_list = ProductList()
    series_urls = product_list.get_series_urls(url)
    for series_url in series_urls:
        codes_urls = product_list.get_code_urls(series_url)
        for code_url in codes_urls:
            db_save(code_url, task_code, task_id)
Ejemplo n.º 2
0
def all_go(
    task_code,
    task_id,
    url="https://industrial.panasonic.cn/ea/products/resistors/chip-resistors/chip-resistors/current-sensing-resistors-thick-film-type?reset=1&limit=100"
):
    product_list = ProductList()
    codes_urls = product_list.get_code_urls(url)
    for code_url in codes_urls:
        db_save(code_url, task_code, task_id)
Ejemplo n.º 3
0
def all_go(
    task_code,
    task_id,
    url="https://industrial.panasonic.cn/ea/products/sensors/built-in-sensors/grid-eye#quicktabs-line_up_page_tab=1"
):
    product_list = ProductList()
    series_urls = product_list.get_series_urls(url)
    for series_url in series_urls:
        db_save(series_url, task_code, task_id)
Ejemplo n.º 4
0
def all_go(
    task_code,
    task_id,
    url="https://industrial.panasonic.cn/ea/products/resistors/chip-resistors/chip-resistors/thin-film-chip-resistors-high-reliability-type?reset=1&limit=100"
):
    product_list = ProductList()
    codes_urls = product_list.get_code_urls(url)
    for code_url in codes_urls:
        db_save(code_url, task_code, task_id)