Skip to content

arifals27/google-indexer

Repository files navigation

google-indexer

otomatis index ke google

Cara pake

  • jalankan kode ini
git clone https://github.com/arifals27/google-indexer.git
cd google-indexer
npm install
  • aktifkan Indexing API disini
  • Jika tidak memiliki "Project", maka buatlah sebuah project.
  • Setelah aktif, buatlah service account disini
  • Pilih project yang sudah kamu buat
  • Pada bagian "Grant this service account access to project", pilih "Owner"
  • Klik tombol "Done"
  • Jika sudah selesai, buka service account yang sudah dibuat tadi, masuk ke tab "KEYS", dan pilih "Create new key" > JSON > create
  • Otomatis maka akan terdownload file .json dari service account tersebut
  • Copy/rename file .json yang sudah di download ke dalam service_account_1.json
  • Untuk service_account_{2-5}.json, silahkan buat project baru, dan buatlah sebuah service account seperti panduan di atas.
  • Edit file index.js dan ubah "const limitService" sesuai dengan jumlah service account yang sudah dibuat.

Ketentuan

  • 1 project hanya bisa submit sampai 200 indexing saja.
  • Jika ingin index sampai 1000 per hari, maka perlu 5 service account dari 5 project yang berbeda. 1 project 1 service account.

Penggunaan

About

otomatis index ke google

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published