Name | amazon-affiliate-scraper JSON |
Version |
0.2.0
JSON |
| download |
home_page | |
Summary | A simple library to help a developer who is affiliated with Amazon to automate the process. |
upload_time | 2024-02-16 15:34:25 |
maintainer | |
docs_url | None |
author | Marcuth |
requires_python | |
license | MIT License |
keywords |
amazon
affiliate
scraper
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Amazon Affiliate - Scraper Tool
## Quickstart
### Creating Affiliate URL:
```py
from amazon_affiliate import AmazonAffiliate
def main():
amazon_affiliate = AmazonAffiliate(
cookies_file_path = "path/to/amazon_cookies.json", # Path to Amazon site cookies
origin_url = "https://www.amazon.com.br/", # Amazon root URL in your country
webdriver_file_path = "path/to/webdriver.exe", # Path to browser webdriver
headless = True # If the browser will appear
)
# Create an affiliate URL like: https://amzn.to/3qAp1rZ
affiliate_url = amazon_affiliate.create_affiliate_url("https://www.amazon.com.br/Introdu%C3%A7%C3%A3o-Programa%C3%A7%C3%A3o-com-Python-Algoritmos/dp/8575227181/?_encoding=UTF8&pd_rd_w=cLgOh&content-id=amzn1.sym.142cf30d-cd8e-4f67-a147-740799e27bf0&pf_rd_p=142cf30d-cd8e-4f67-a147-740799e27bf0&pf_rd_r=Q5SHBAZH69HSPBRR2MGS&pd_rd_wg=98FtW&pd_rd_r=ffa375c6-01c9-4e9c-9f87-2aef974a89af&ref_=pd_gw_ci_mcx_mr_hp_atf_m")
print(affiliate_url)
if __name__ == "__main__":
main()
```
Raw data
{
"_id": null,
"home_page": "",
"name": "amazon-affiliate-scraper",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "amazon affiliate scraper",
"author": "Marcuth",
"author_email": "example@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/87/35/6b1be9995afcc75746d60b5c23ddf8f84599953388302bb289ac27a6d85a/amazon-affiliate-scraper-0.2.0.tar.gz",
"platform": null,
"description": "# Amazon Affiliate - Scraper Tool\r\n\r\n## Quickstart\r\n\r\n### Creating Affiliate URL:\r\n\r\n```py\r\nfrom amazon_affiliate import AmazonAffiliate\r\n\r\ndef main():\r\n amazon_affiliate = AmazonAffiliate(\r\n cookies_file_path = \"path/to/amazon_cookies.json\", # Path to Amazon site cookies\r\n origin_url = \"https://www.amazon.com.br/\", # Amazon root URL in your country\r\n webdriver_file_path = \"path/to/webdriver.exe\", # Path to browser webdriver\r\n headless = True # If the browser will appear\r\n )\r\n\r\n # Create an affiliate URL like: https://amzn.to/3qAp1rZ\r\n affiliate_url = amazon_affiliate.create_affiliate_url(\"https://www.amazon.com.br/Introdu%C3%A7%C3%A3o-Programa%C3%A7%C3%A3o-com-Python-Algoritmos/dp/8575227181/?_encoding=UTF8&pd_rd_w=cLgOh&content-id=amzn1.sym.142cf30d-cd8e-4f67-a147-740799e27bf0&pf_rd_p=142cf30d-cd8e-4f67-a147-740799e27bf0&pf_rd_r=Q5SHBAZH69HSPBRR2MGS&pd_rd_wg=98FtW&pd_rd_r=ffa375c6-01c9-4e9c-9f87-2aef974a89af&ref_=pd_gw_ci_mcx_mr_hp_atf_m\") \r\n\r\n print(affiliate_url)\r\n\r\nif __name__ == \"__main__\":\r\n main()\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "A simple library to help a developer who is affiliated with Amazon to automate the process.",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [
"amazon",
"affiliate",
"scraper"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "87356b1be9995afcc75746d60b5c23ddf8f84599953388302bb289ac27a6d85a",
"md5": "265c4d14d1d9621df644463656f8489d",
"sha256": "623002832cf615cd3c29c63480bfc039bd9567c906046be82a0fbed7e6b762a7"
},
"downloads": -1,
"filename": "amazon-affiliate-scraper-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "265c4d14d1d9621df644463656f8489d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2407,
"upload_time": "2024-02-16T15:34:25",
"upload_time_iso_8601": "2024-02-16T15:34:25.800378Z",
"url": "https://files.pythonhosted.org/packages/87/35/6b1be9995afcc75746d60b5c23ddf8f84599953388302bb289ac27a6d85a/amazon-affiliate-scraper-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-16 15:34:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "amazon-affiliate-scraper"
}