Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
google-url-bulk-indexing
Advanced tools
A package to submit Bulk URLs for Google Indexing using an Excel file
A Python package to submit URLs for Google Indexing using an Excel file. This package allows you to submit up to 200 URLs daily to Google Search Console for indexing, which can significantly benefit your SEO efforts.
Learn how to create a JSON key for authentication with Google Cloud Console here.
Download a demo Excel file (format.xlsx) to get started quickly here.
To install this package, use pip:
pip install google-url-bulk-indexing
After installing, you can use the package from the command line.
google-url-bulk-indexing
You can also use it as a module in your Python code.
from indexing.main import authorize_credentials, submit_url, read_urls_from_excel
# Provide the path to the API key file
API_Path = "path/to/your/service_account.json"
# Provide the path to the Excel file
excel_file_path = "path/to/your/urls.xlsx"
# Authorize credentials
creds = authorize_credentials(API_Path)
# Specify the request type
requestType = "URL_UPDATED" # or "URL_DELETED"
# Read URLs from Excel
urls_to_submit = read_urls_from_excel(excel_file_path)
# Submit each URL for indexing or deletion
for url in urls_to_submit:
response_code = submit_url(creds, url, requestType)
if response_code == 200:
print(f"Successfully submitted: {url}")
else:
print(f"Error submitting {url}. Error Code: {response_code}")
pip install google-url-bulk-indexing
urls.xlsx
) with the URLs you want to submit, placing each URL in a separate cell in the first column.google-auth
google-auth-oauthlib
requests
pandas
openpyxl
This project is licensed under the MIT License - see the LICENSE file for details.
Around With Us- mscrabe@gmail.com
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome.
FAQs
A package to submit Bulk URLs for Google Indexing using an Excel file
We found that google-url-bulk-indexing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.