Code Monkey home page Code Monkey logo

aliexpress-telegram's Introduction

Aliexpress to telegram post

Python script that reads Aliexpress offers urls from a Excel filename (.csv) and post then in a Telegram channel using a bot. You can see post design in image below. You need to create a cronjob in server to determine publishing frecuency of new offers.


INSTALATION STEPS:

1.) Open aliexpress.py

2.) Configure params of first lines.

3.) Create a cronjob entry in server with desired execution frecuency of script.

Example of cronjob entry for ejecuting script located in /home/ubuntu/ every 60 seconds:

          • python3 /home/ubuntu/aliexpress.py > /home/ubuntu/log_aliexpress.log 2>&1

Output of script executed will be stored in /home/ubuntu/log_aliexpress.log for checking.

You can check more cronjobs entries examples in: https://crontab.guru

Example screenshot of message published in Telegram Channel after execution:

aliexpress-telegram's People

Contributors

fernandod1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lcsouzamenezes

aliexpress-telegram's Issues

id_aliexpress loop to ID: 1

Good day,

I have a loop Issue with AE-telegram bot,

For example :

When It's **** READING ROW ID:1 of .csv ****, Sometimes It posts the msg normally for ID:1 then after 3 hours ( which Is my configuration on contab) It post the msg normally for ID:2, then after 3 hours It post ID: 1 again ! So, I'm now stuck In looping.

Temporary solution :

Vim id_aliexpress.txt

and change the number to 5 or whatever.

BTW, Also this happened with ID: 17 then going to ID: 1 then got stuck In looping :(


If you need a copy of DATABASE_template.csv file, please provide me your email or TG.

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.