Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error saat download produk terlaris #4

Open
agusgithub123 opened this issue Jan 6, 2023 · 0 comments
Open

Error saat download produk terlaris #4

agusgithub123 opened this issue Jan 6, 2023 · 0 comments

Comments

@agusgithub123
Copy link

saya mendapati error dibawah saat ingin download produk terlaris, mohon bantuannya ;

[ SHOPEE-PRODUCT-GRABBER v3.0 by heryan ]
[+] https://github.com/heryandp/shopee-product-scrap

[+] Pilih metode grab/scrap

  1. Download produk per toko
  2. Download produk terlaris
  3. Download list toko
  4. Keluar
    Ketik nomor (1 s.d 4):2
    [+] Masukkan keyword barang/produk (mis. tas wanita) :tas wanita
    [+] Masukkan lokasi (provinsi/isi kosong=semua, mis. Jawa Tengah) :
    === GRABBING PRODUK ===
    [+] Hapus file lama ...
    [+] Mulai download produk ...
    (delay 5 detik untuk menghindari anti-spam!)
    Traceback (most recent call last):
    File "C:\Scraper\Shopee Scraper\Shopee - Copy\shopee.py", line 402, in
    key = shopee_keyword(keyword,lokasi)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Scraper\Shopee Scraper\Shopee - Copy\shopee.py", line 153, in init
    self.grab_keyword()
    File "C:\Scraper\Shopee Scraper\Shopee - Copy\shopee.py", line 187, in grab_keyword
    if (cek_produk["total_count"]==0) or (not cek_produk['items']):
    ~~~~~~~~~~^^^^^^^^^^^^^^^
    KeyError: 'total_count'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant