sulasoft / Amacapy-Bot-Telegram-Amazon-Affiliates

Amacapy is a software that does web scraping to the Amazon website and publishes them on Telegram, searches the products by the keyword entered or the direct link of the product. Then you can publish these products on Telegram in a certain time. The technologies used were Flet, Beautiful Soup and Python.
117 stars 19 forks source link
amazon beautifulsoup4 flet flet-dev pandas-dataframe python telegram telegram-bot webscraping

Amacapy

Amacapy is a program that focuses on web scraping amazon.com, amazon.es and amazon.it. The data extracted are the price, title and URL of the products searched, then with the help of a Telegram bot created with Bot Father, these are published in a certain time.

Download the new version here.

Watch the new version on YouTube.

Old version

Libraries and technologies used:

  • Python 3.10.1.
  • Beautifulsoup4 v4.11.1 and Requests v2.28.1 (For the web scraping)
  • Flet v0.3.2. (For the graphical interface)
  • Pandas v1.5.2. (For saving and manipulating information from xlsx files)
  • Pyshorteners v1.0.1. (To shorten the links of the publications)
  • How to use Amacapy?

  • 1. Create a bot with BotFather.
  • 2. Install the necessary libraries. You can do it in the following way:
  • 3. Open the "main.py" file containing the main program.
  • 4. Add your data (amazon id, telegram token, chat id) in the configuration.
  • Example:

  • 5. Search products.
  • Example:

  • 6. Search results.
  • Example:

  • 7. Publication list.
  • Example:

  • 7. History of published products.
  • Example:

  • 8. Modify the text displayed in the Telegram post (Optional).
  • Example:

  • 9.Add link shortener (Optional).
  • Example:

  • 10. Supporting the developer.
  • Example:

    Where are the data stored? (Do not manually delete or modify these files)

  • 1. The configuration is stored in the file: setting.xlsx.
  • 2. The search_product.xlsx file stores the data entered in the search screen (product keyword and Amazon region).
  • 3. The search result is stored in the file: search_result.xlsx.
  • 4. Products added to the publication list are stored in: list_publish.xlsx.
  • 5. The publish_on.xlsx file stores the products that are being published.
  • 6. The history.xlsx file stores the products that have been published, including their publication date.
  • 7. The custom Telegram post message is stored in the file custom_message.xlsx.
  • 8. The link shortener data is stored in the file: short_url.xlsx.
  • 9. The support_dev.xlsx file stores whether or not the developer will be supported by the affiliate link.
  • Thank you for using the program, you can support me through Paypal.

    You can contact me on Telegram.