HomeArticles Posted by Aayush Saini
Posted in Django, Python

Django Polymorphic Model

In this blog, we will learn about the use of the Polymorphic model of Django. Polymorphism: Polymorphism means the same function name (but different signatures) being uses for different types. Example: print(len(“geeks”)) output-:5 print(len([10, 20, 30])) output-:3 In the above example, len is a function that is used for different types. Polymorphic model is also based on […]

Posted in Back-End & Database, Uncategorized

Introduction to Web Scraping

What is Web Scraping? Web Scraping is the process of data extraction from various websites. DIFFERENT LIBRARY/FRAMEWORK FOR SCRAPING: Scrapy:– If you are dealing with complex Scraping operation that requires enormous speed and low power consumption, then Scrapy would be a great choice.  Beautiful Soup:- If you’re new to programming and want to work with web scraping […]

Posted in Back-End & Database, Python

Scrapy-settings, Items, pipeline

Scrapy Settings: If you’re looking to uniquely customize your scraper, then you’ll want to learn the tips and tricks of how to do this without a hassle. Using Scrapy settings, you can conveniently customize the crawling settings of your crawler. That’s not all, scrapy also allow you to customize other items like core mechanism, pipelines, […]

Posted in Back-End & Database, Python

Flask RestAPI with requests

Introduction: Requests is a Python module that you can use to send all kinds of HTTP requests. It is an easy-to-use library with a lot of features ranging from passing parameters in URLs to sending custom headers and SSL Verification. we can use requests library very easily like this. import requestsreq = requests.get(‘https://www.excellencetechnologies.in/’) Now let’s install […]