Scraping [login to view URL] Upcomming Lightings Deals with Coupons and send it to Telegram

Closed Posted 9 months ago Paid on delivery
Closed Paid on delivery

The script should filter the deals to include only those with coupons. Additionally, it should use a proxy to avoid getting blocked by Amazon. Finally, the output of the script should be sent to a specified Telegram channel.

my requirment :

Here are the requirements:

1. Use the Amazon Product Advertising API (or another suitable API) to fetch the upcoming lightning deals.

2. Filter the deals to include only those with coupons.

3. Implement proxy support to avoid getting blocked by Amazon. Provide fields in the script to specify the proxy host, port, username, and password.

4. Use the Telegram Bot API to send the output to a Telegram channel. Provide fields in the script to specify the Telegram bot token and channel ID.

5. Make sure the script is written in Python and is compatible with Python 3.x.

- Replace 'YOUR_ACCESS_KEY_ID', 'YOUR_SECRET_ACCESS_KEY', and 'YOUR_ASSOCIATE_TAG' with the appropriate Amazon API credentials.

- Replace 'YOUR_TELEGRAM_BOT_TOKEN' with your Telegram bot token.

- Replace 'YOUR_TELEGRAM_CHANNEL_ID' with the ID of your Telegram channel.

- Replace 'YOUR_PROXY_HOST', 'YOUR_PROXY_PORT', 'YOUR_PROXY_USERNAME', and 'YOUR_PROXY_PASSWORD' with the appropriate proxy settings.

exampel how we make it :

import requests

import bottlenose

import json

# Configure your Amazon API credentials

AWS_ACCESS_KEY_ID = 'YOUR_ACCESS_KEY_ID'

AWS_SECRET_ACCESS_KEY = 'YOUR_SECRET_ACCESS_KEY'

AWS_ASSOCIATE_TAG = 'YOUR_ASSOCIATE_TAG'

# Configure your Telegram bot credentials

TELEGRAM_BOT_TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN'

CHANNEL_ID = 'YOUR_TELEGRAM_CHANNEL_ID'

# Configure your proxy settings

PROXY_HOST = 'YOUR_PROXY_HOST'

PROXY_PORT = 'YOUR_PROXY_PORT'

PROXY_USERNAME = 'YOUR_PROXY_USERNAME'

PROXY_PASSWORD = 'YOUR_PROXY_PASSWORD'

# Set up the session with the proxy

session = [login to view URL]()

[login to view URL] = {

'http': f'http://{PROXY_USERNAME}:{PROXY_PASSWORD}@{PROXY_HOST}:{PROXY_PORT}',

'https': f'http://{PROXY_USERNAME}:{PROXY_PASSWORD}@{PROXY_HOST}:{PROXY_PORT}',

}

# Create an instance of the bottlenose API wrapper

amazon = [login to view URL](

AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG,

Parser=lambda text: [login to view URL](text),

MaxQPS=0.9,

ErrorHandler=lambda status_code, error_message, *args, **kwargs: None,

Session=session,

)

# Define the parameters for the API request

params = {

'Operation': 'ItemSearch',

'BrowseNode': '16395942031', # BrowseNode for Lightning Deals on [login to view URL]

'Availability': 'Available', # Filter for available deals

'ResponseGroup': 'ItemAttributes,Coupon', # Include coupon information

}

# Send the API request to fetch the deals

response = [login to view URL](**params)

# Parse the API response

deals = response['Items']['Item']

# Iterate over the deals and send them to the Telegram channel

for deal in deals:

title = deal['ItemAttributes']['Title']

price = deal['OfferSummary']['LowestNewPrice']['FormattedPrice']

coupon = [login to view URL]('Coupon', {})

is_coupon = [login to view URL]('IsCouponEligible', 'false')

if is_coupon == 'true':

message = f"Lightning deal: {title}\nPrice: {price}\nCoupon available!"

# Send the message to the Telegram channel

url = f'[login to view URL]{TELEGRAM_BOT_TOKEN}/sendMessage'

data = {

'chat_id': CHANNEL_ID,

'text': message

}

response = [login to view URL](url, data=data)

print(f'Sent deal to Telegram: {response.status_code}')

print('---------------------------')

see : [login to view URL]

PHP Amazon Web Services Web Scraping Python Software Architecture

Project ID: #36693110

About the project

31 proposals Remote project Active 8 mos ago

31 freelancers are bidding on average €183 for this job

ahmadayaz

Dear client, I have carefully reviewed your requirements for a Python script that fetches upcoming lightning deals from Amazon's Product Advertising API and filters them to include only those with coupons. I have ext More

€225 EUR in 10 days
(293 Reviews)
8.7
chirgeo

My name is George and I have vast experience writing web crawlers for various clients. As a web crawler expert, I have a good understanding of the Amazon Product Advertising API, Telegram Bot API, implementing proxy su More

€464 EUR in 3 days
(157 Reviews)
8.0
letshappy

so the idea is to scrape the deals with coupon codes from amazon using amazon api and then sent it your telegram channel right?

€250 EUR in 6 days
(209 Reviews)
7.4
webplanetsoft

Hi there, I hope you are doing well. I have gone through your requirement and will assist you in completion of this project. With 10+ years of experience we can do this. We have a team of developers who have an expert More

€140 EUR in 7 days
(271 Reviews)
7.5
omnamasshivay

Hello, I understood the project but have few doubts, please text me so i can clear all my questions right away and to confirm my skills and expertise you can have a look to my profile

€300 EUR in 5 days
(27 Reviews)
5.9
simonklemp

Hello Shadi, I hope this message finds you well. I will be able to help you with your project. I read through the description and it sounds like I am just the right person for it. I have the right skil More

€200 EUR in 3 days
(23 Reviews)
6.0
Techalchemy

Hello, I have read your megento project requirements and then I am sure I can complete that project. I can help you. please get in touch. Thank you

€140 EUR in 7 days
(16 Reviews)
4.8
Honeytech92

Hi,I would be happy to assist you on this project upon reviewing complete requirements clearly and can help you in acheiving goal.I believe I am the perfect fit for this project because of my extensive experience in w More

€120 EUR in 7 days
(20 Reviews)
5.6
devbaloni1983

Hi, I have more then 15 year’ experienced in Development. As i am expert, I can build it according to your requirements. Because I have a lot of the experiences about these fields, I can build your project as soon More

€100 EUR in 7 days
(17 Reviews)
4.6
ashinnd84

Hi there, we are experts in PHP, Python, AWS, Web Scraping, Software Architecture. Please, send me a message to discuss the work. Thanks Ashish.

€140 EUR in 7 days
(17 Reviews)
4.4
aleem18

Results-oriented, meticulous and innovative and experienced Web, software developer and automation engineer with expertise in systems analysis, Web site design, and application integration. Ability to increase reliabi More

€340 EUR in 14 days
(15 Reviews)
4.0
tymsolutions

Hi, If you're looking for a team of experts who can help you create a strong brand identity and online presence, TYM Solutions is the perfect partner for you. We have extensive experience in designing logos (including More

€40 EUR in 2 days
(5 Reviews)
3.2
nekpaldevloper

Hello Shadi A., We went through your project description and it seems like our team is a great fit for this job. We are an expert team which have many years of experience on PHP, Python, Web Scraping, Software Archit More

€140 EUR in 7 days
(1 Review)
2.9
notmanu237

Hi, I'm a full time python developer and I have over 5 years of experience in amazon and telegram APIs. I have already built a few scrapers that scrap deals from amazon and send them to telegram. I can easily do your More

€150 EUR in 1 day
(0 Reviews)
0.0
techindia999

Hi Greetings! We are team of software developers. We have big team of around 1500 software developers all over the world associated with us. We have developers working on almost all the technologies. We will assign yo More

€250 EUR in 7 days
(0 Reviews)
0.0
dootfko11

Hi client, great to meet you. I read your job description, and I understand you are looking for an expert who is well-versed in PHP. As a senior PHP developer with vast experience of 12 years, I am very confident in t More

€140 EUR in 7 days
(0 Reviews)
0.0
afowzi7

Hi, Shadi A. Going through the job posting, it seems like you're looking for someone who can filter the deals to include only those with coupons. I've confirmed your requirements and I am fully available to get started More

€180 EUR in 7 days
(0 Reviews)
0.0