PYTHON MONEY
Open in Telegram
1 903
Subscribers
No data24 hours
+17 days
+630 days
Posts Archive
1 903
π 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.
π PROS:
β’ Fast operation of the uploader
β’ 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...
1 903
π 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.
1 903
π 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:
* Multiple inheritance βοΈ
* Understanding MRO (Method Resolution Order) π
* The problem of diamond inheritance β¦οΈ
* Composition π§©
* How to choose between composition and inheritance π€
* The Liskov Substitution Principle β
* The Single Responsibility Principle π―
* Mixins π
π¦Ύ As a result of this lesson, we will write a pin uploader with multiple operation modes.
1 903
π 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:
* Multiple inheritance βοΈ
* Understanding MRO (Method Resolution Order) π
* The problem of diamond inheritance β¦οΈ
* Composition π§©
* How to choose between composition and inheritance π€
* The Liskov Substitution Principle β
* The Single Responsibility Principle π―
* Mixins π
π¦Ύ As a result of this lesson, we will write a pin uploader with multiple operation modes.
1 903
π 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:
* Multiple inheritance βοΈ
* Understanding MRO (Method Resolution Order) π
* The problem of diamond inheritance β¦οΈ
* Composition π§©
* How to choose between composition and inheritance π€
* The Liskov Substitution Principle β
* The Single Responsibility Principle π―
* Mixins π
π¦Ύ As a result of this lesson, we will write a pin uploader with multiple operation modes.
1 903
# The final stretch of the Pinterest Money course π π
1. In the next lesson, we will write a powerful pin uploader. In this lesson, we will work with multiple inheritance, the concept of MRO (Method Resolution Order), and much more. π
2. In the last lesson, we will summarize the results, fine-tune the entire workflow, and I will provide you with information on scaling. π
1 903
πππ When for the first time in the entire existence of the channel, I found out that subscribers were sending emails to the Google Drive email for Python bots πππ
1 903
# π The next lesson of the course is on the way
In this session, we'll be diving into Designing with Python.
During this lesson, we'll further enhance our object-oriented programming skills:
1. Deepen our class intuition π
2. Delving further into inheritance βοΈ
3. Inheriting multiple classes from a class that is already an inheritor π
4. Learning to dynamically create attributes using the setattr function βοΈ
5. Mastering the OOP principle, beautifully named POLYMORPHISM π
π¦Ύ Pinterest Money is a course where we don't just theorize but write bots for real-world tasks.
