PYTHON MONEY
1.74K subscribers
64 photos
11 videos
10 files
21 links
Earn money. Save time. đŸ’°âŗ
Download Telegram
One of such emails â¤ī¸
❤54đŸ”Ĩ2đŸĨ°2👍1🤗1
🐍 How to Learn Python
👍24đŸ”Ĩ9❤6đŸ’¯6đŸĨ°2👏2🤗2😁1
🚀 In the next lesson of the Pinterest Money course, we will finalize the development of our Pinterest Monster.

🧠 We will cover some of the OOP principles that will help you start thinking architecturally and develop more flexible and scalable systems.

Here's what we will cover:

1. Multiple inheritance â›“ī¸
2. Understanding MRO (Method Resolution Order) 🔄
3. The problem of diamond inheritance â™Ļī¸
4. Composition 🧩
5. How to choose between composition and inheritance 🤔
6. The Liskov Substitution Principle ✅
7. The Single Responsibility Principle đŸŽ¯
8. Mixins 🎭

đŸĻž As a result of this lesson, we will write a pin uploader with multiple operation modes.
đŸ”Ĩ37👍5❤2đŸĨ°2🤗1
📌 Pin Uploader. How can we write such software?

There are three approaches:

1. Using HTTP requests 🔗

1. We perform the necessary action in the browser. For example, we upload a Pin.
2. Intercept requests between the browser and the server using specialized tools.
3. Analyze the requests. Identify key requests. Collect data about the attributes, body parameters, and headers of these requests and the server's responses to these requests.
4. Form requests with the collected data and send them to the server using Python.

👍 PROS:

â€ĸ Fast performance
â€ĸ Reliability
â€ĸ Imitation of a real browser
â€ĸ No need for applications and API keys to access endpoints

👎 CONS:

â€ĸ Relative complexity of implementation and time spent on analyzing requests

📚 WHAT IS REQUIRED:

1. Understanding of the HTTP protocol and request methods, such as GET and POST.
2. Ability to form and send HTTP requests using the Python requests library.
3. Ability to work with data in JSON format.
4. Understanding of session management and working with cookies.
5. Ability to analyze server responses, including reading HTTP status codes, response headers, and response bodies.

To be continued...
👍21đŸ”Ĩ10❤3đŸĨ°2
...

2. Browser Emulation 🌐

We automate uploading using Selenium or its counterparts (Playwright, Puppeteer)

👍 PROS:

â€ĸ Easy implementation

👎 CONS:

â€ĸ Slow performance
â€ĸ Relatively low reliability
â€ĸ May be detected by anti-bot systems (tips below enhance reliability)

ℹ TIPS:

âœ”ī¸ Use stealth plugins
âœ”ī¸ Hide the navigator.webdriver property
âœ”ī¸ Change the default user-agent
âœ”ī¸ Pass the test at https://bot.sannysoft.com/
đŸ”Ĩ10👍2❤1
...

3. Official API 🔑

1. We register the application in the developers section. Obtain the application ID and secret key.

â„šī¸ To get the application approved, it is necessary to provide a link to the website and a privacy policy.

2. Build an authentication flow based on OAuth 2.0. Obtain the access token.

3. Make requests to API endpoints including the obtained access token and parameters described in the documentation.

👍 PROS:

â€ĸ Reliability

👎 CONS:

â€ĸ Application moderation takes 1-2 days
đŸ”Ĩ9❤3👍2
🔜 Pinterest Money 6. Soon...
đŸ”Ĩ39❤11đŸĢĄ5
❤21😁9👍4đŸĢĄ4đŸ”Ĩ3đŸĨ°3👏2🍌2
This media is not supported in your browser
VIEW IN TELEGRAM
❓ What do you think, which of these types of pins will show better conversion rates?

Think about the reasons behind it.
🤗2
âŦ†ī¸ Which of these three types of Pins will show better conversion rates?
Anonymous Poll
17%
Pin 1
37%
Pin 2
46%
Pins 3
❤16
This media is not supported in your browser
VIEW IN TELEGRAM
💡 Answer to the question
❤16đŸ”Ĩ4👍2🤗1
Media is too big
VIEW IN TELEGRAM
đŸ’ĩ Most of you are here to earn through sales and affiliate marketing.

So, the main goal of our pins is SALES.

We've found that for this purpose, pins of the third type are the most effective.

For the final, seventh part of the course, I've prepared a generator for such pins for you.

🔜 Pinterest Money 7. Soon...
đŸ”Ĩ37❤8👍3🤗2
đŸ”Ĩ37🤗3
❤21👍8đŸ’¯5đŸ”Ĩ2🤗1
đŸ”Ĩ20❤8👍1🤗1
đŸ”Ĩ25❤2👏2🤗1
đŸ”Ĩ19👍6🤗1
📱 In the final part of the course, we will discuss 3 ways to create your own 4G/5G proxies for just a few dollars per month.

✅ We'll also write a proxy checker to ensure that our bot's requests are indeed passing through the proxy.
👍14đŸ”Ĩ13❤4🤗2
Media is too big
VIEW IN TELEGRAM
Workflow for generating viral Shorts/Tiktoks.

1. Prompt builder. Google Sheets. Control Panel.

đŸ”Ĩ - I want to see the continuation and the result of the work
đŸ”Ĩ78❤9👍2🤗1
Media is too big
VIEW IN TELEGRAM
đŸ”Ĩ41❤6👍1