Giter VIP home page Giter VIP logo

lukelnx / affiliate-scraper-pro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from icerewl/affiliate-scraper-pro

0.0 0.0 0.0 21 KB

A to help users earn affiliate income with ease. This bot scrapes product information and images from Aliexpress.com, transforms the links to your affiliate link through admitad.com, and then automatically shares those products on Pinterest.com.

License: MIT License

Python 100.00%

affiliate-scraper-pro's Introduction

Affiliate Scraper Pro

Affiliate Scraper Pro is a bot that helps users earn affiliate income with ease. The bot scrapes product information and images from Aliexpress.com, transforms the links to the user's affiliate link through admitad.com, and then automatically shares those products on Pinterest.com.
This bot streamlines the process of finding and sharing products, allowing users to focus on growing their affiliate income.

How it works

1.The bot starts by importing the necessary modules, including time, requests, and the custom modules Admitad_link_converter, Aliexpress_scraper, and test_telegram_bot.

2.The main_function is defined, which takes in three parameters: counter_for_item, counter_for_page, and error_counter.

3.Within main_function, a list of items to be scraped from Aliexpress.com is defined. The Aliexpress_scraper function is then called, passing in the item list, counter_for_item, and counter_for_page. This function returns the scraped product information and images.

4.The scraped image URLs and item URLs are then modified to include the user's affiliate link through the link_convert function.

5.The bot then uses the requests module to make a POST request to Pinterest.com, sharing the scraped products on the user's account.

6.The bot continues this process, looping through the list of items and sharing them on the user's Pinterest account. If there is an error in the process, the error is logged and the error_counter is incremented.

7.The main_function returns the updated counter_for_item, counter_for_page, and error_counter values.

8.The bot runs indefinitely in a while loop, continuously calling main_function and updating the counters as necessary.

Requirements:

Python 3

requests library

Admitad account

Pinterest account

Getting started:

1.Clone the repository

2.Install the required libraries

3.Run the main.py file

4.Set up telegram bot for sending the status to your telegram account

5.Update the credentials and tokens for Admitad and Pinterest account

6.Run the code and wait for the products to be posted on your Pinterest account

Note:

There is a sleep time of 10300 seconds(2.9 hours) after each request to avoid suspension from Pinterest.

Customization:

The code is highly customizable to match the user's needs. Users can change the items to be scraped, the number of items scraped per page, and the sleep time between requests.

Conclusion:

Affiliate Scraper Pro is a powerful tool that helps users automate the process of finding and sharing products on Pinterest, allowing them to focus on growing their affiliate income. With its easy-to-use interface and customizable options, users can quickly start earning affiliate income with minimal effort.

affiliate-scraper-pro's People

Contributors

icerewl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.