{"id":20074,"date":"2024-12-03T07:35:31","date_gmt":"2024-12-03T07:35:31","guid":{"rendered":"https:\/\/www.scrapingdog.com\/?p=20074"},"modified":"2025-08-18T10:47:57","modified_gmt":"2025-08-18T10:47:57","slug":"scrape-flipkart","status":"publish","type":"post","link":"https:\/\/www.scrapingdog.com\/blog\/scrape-flipkart\/","title":{"rendered":"How To Scrape Flipkart Data using Python"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"20074\" class=\"elementor elementor-20074\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0704739 e-flex e-con-boxed e-con e-parent\" data-id=\"0704739\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a60f631 elementor-widget elementor-widget-html\" data-id=\"a60f631\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!-- Gutenberg \u201cCustom HTML\u201d block -->\r\n<div style=\"\r\n  background:#d9f4e5;\r\n  border-left:4px solid #1d9b6c;\r\n  padding:18px 24px;\r\n  margin:24px 0;\r\n  border-radius:6px;\r\n  font-family:'Montserrat',sans-serif;\r\n  font-size:18px;\r\n  line-height:1.65;\r\n  color:#1a1a1a;\">\r\n  <p style=\"margin:0 0 8px 0;font-weight:600;\">TL;DR<\/p>\r\n\r\n  <ul style=\"margin:0; padding-left:20px;\">\r\n    <li>Python walkthrough to scrape Flipkart product pages with <code>requests<\/code> + <code>BeautifulSoup<\/code>.<\/li>\r\n    <li>Add browser-like headers to reduce blocks; use DevTools to locate fields.<\/li>\r\n    <li>Extract name, price, rating, highlights, description, images; full code included.<\/li>\r\n    <li>Use cases: price tracking, research, and marketing.<\/li>\r\n  <\/ul>\r\n<\/div>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-219ce72 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"219ce72\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Flipkart\u00a0is the second largest e-commerce giant in India, following Amazon, with a market share of 39.5% in India\u2019s mammoth-sized e-commerce market. It was founded by Sachin and Binny Bansal in 2007 in the Silicon Valley of India, i.e., Bengaluru.<\/p><p>As of data from 2023, Flipkart has more than 150 million products registered on its platform (<a href=\"https:\/\/storiesflistgv2.blob.core.windows.net\/stories\/2021\/09\/16092021-Press-Release-Flipkart-on-track-to-have-over-4.2-lakh-sellers-MSMEs-by-December-2021.pdf\" target=\"_blank\" rel=\"nofollow noopener\">source<\/a>), giving neck-to-neck competition to Amazon India with 168 million products. It also makes Flipkart as a significant data center for tracking competitors and their products.\u00a0<\/p><p>In this article, we will scrape Flipkart product details using Python, including pricing, ratings, features, and much more. We will also discuss the need for a Flipkart price tracker and how it can benefit consumers and online businesses.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-af31da1 elementor-widget elementor-widget-heading\" data-id=\"af31da1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">The Importance of Having a Flipkart Price Tracker<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-71e5382 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"71e5382\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>As we know, Flipkart has a significant presence in India, boasting a vast customer base of 400 million. It receives 3.5 million orders\/day, showcasing its immense popularity and market reach, and we must take advantage of this extensive market by deploying a Flipkart Price Tracker. Here are some benefits of having a Flipkart Price Tracker:\u00a0<\/p><ol class=\"wp-block-list\"><li><strong>Real-time Price Updates\u200a<\/strong>\u2014\u200aA Flipkart price tracker will provide real-time updates on your competitor\u2019s products and keep you informed about any price drops and discounts. This way, you can optimize the product pricing accordingly to help customers avail, the best deals available in the market.<\/li><li><strong>Product Research<\/strong>\u200a\u2014\u200aWe can gather a wealth of product information, including product specifications, features, and customer reviews using a Flipkart scraper for market research and trend analysis.<\/li><li><strong>Sales and Marketing\u200a<\/strong>\u2014\u200aYou may have often seen retailers running different promotional schemes, discounts, and sales events on e-commerce platforms. A Flipkart scraper can track these promotional events, which businesses can use to plan their sales and marketing strategies accordingly.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4df183b elementor-widget elementor-widget-heading\" data-id=\"4df183b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Let\u2019s begin scraping Flipkart<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b5c2d75 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"b5c2d75\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Our first step in this tutorial is to install the libraries that we will be using later.<\/p><h3>Set Up<\/h3><p>Create a file named flipkartscraper.py in your respective project folder and run the following command to install the required libraries.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-440aaa2 elementor-widget elementor-widget-code-highlight\" data-id=\"440aaa2\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>pip install requests\r\npip install beautifulsoup4<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d25889e font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"d25889e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ol class=\"wp-block-list\"><li><a href=\"https:\/\/pypi.org\/project\/beautifulsoup4\/\" target=\"_blank\" rel=\"nofollow noopener\"><strong>Beautiful Soup<\/strong><\/a>\u200a\u2014\u200aA powerful third-party library for parsing raw HTML data.<\/li><li><a href=\"https:\/\/pypi.org\/project\/requests\/\" target=\"_blank\" rel=\"nofollow noopener\"><strong>Requests<\/strong><\/a>\u200a\u2014\u200aA powerful third-party library for extracting the raw HTML data from the web page.<\/li><\/ol><p>Now, return to your project file and start the scraping process.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-041826e elementor-widget elementor-widget-heading\" data-id=\"041826e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Scraping the Flipkart.com Product Page<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cc58ba2 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"cc58ba2\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Next, we will use the Requests library in Python to get raw HTML data from the Flipkart product page to parse and filter out the required data.\u00a0import requests<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bde8d5a elementor-widget elementor-widget-code-highlight\" data-id=\"bde8d5a\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>url = \"https:\/\/www.flipkart.com\/apple-iphone-15-pro-max-blue-titanium-256-gb\/p\/itm4a0093df4a3d7\"\r\nhtml = requests.get(url)\r\n \r\nprint(html.text)<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-32874b0 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"32874b0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Run this script in your terminal. You will get the data in the below format.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7054c25 elementor-widget elementor-widget-image\" data-id=\"7054c25\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"211\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-2-1536x405-1-1024x270.webp\" class=\"attachment-large size-large wp-image-20076\" alt=\"scrape flipkart code\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-2-1536x405-1-1024x270.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-2-1536x405-1-300x79.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-2-1536x405-1-768x203.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-2-1536x405-1.webp 1536w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-88dfccc font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"88dfccc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Of course, it is not in readable format. We will clean and parse this data using the Beautiful Soup library.<\/p><p>However, if you run the above script frequently, your IP might get blocked by Flipkart\u2019s anti-bot mechanism. To delay this or to save our IP from getting blocked to some extent, we will pass custom request headers with the GET request.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f453ef8 elementor-widget elementor-widget-code-highlight\" data-id=\"f453ef8\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>import requests\r\n \r\nurl = \"https:\/\/www.flipkart.com\/apple-iphone-15-pro-max-blue-titanium-256-gb\/p\/itm4a0093df4a3d7\"\r\n \r\nheaders = {\r\n\"User-Agent\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36\",\r\n\"Accept\": \"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7\",\r\n\"Accept-Language\": \"en-US,en;q=0.9\"\r\n}\r\n \r\nresp = requests.get(url, headers=headers)\r\n \r\nprint(resp.text)<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f30b1c3 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"f30b1c3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Okay \ud83d\ude00, so for now, we are safe to proceed. Let\u2019s take a look at how we can extract the product details in a readable format.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f7ff90a elementor-widget elementor-widget-heading\" data-id=\"f7ff90a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Extracting Product Details From Flipkart<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-23a60df font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"23a60df\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We are going to extract the following data points from the Flipkart product page:<\/p><ol class=\"wp-block-list\"><li><strong>Name<\/strong><\/li><li><strong>Price\u00a0<\/strong><\/li><li><strong>Rating<\/strong><\/li><li><strong>Highlights<\/strong><\/li><li><strong>Description<\/strong><\/li><li><strong>Images<\/strong><\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-efeee9c elementor-widget elementor-widget-image\" data-id=\"efeee9c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"816\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-3.webp\" class=\"attachment-large size-large wp-image-20077\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-3.webp 856w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-3-294x300.webp 294w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-3-768x783.webp 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a2c2b1e font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"a2c2b1e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Next, we will take the help of the developer tools in the browser to get the location of the respective data points in the HTML.\u00a0<\/p><p>Point your mouse to the title and right-click on it. This will open a menu, and scrolling to the bottom will give you an \u201cInspect\u201d option. Click on it, and there you go!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0fcea93 elementor-widget elementor-widget-image\" data-id=\"0fcea93\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"290\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-4-1024x371.webp\" class=\"attachment-large size-large wp-image-20078\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-4-1024x371.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-4-300x109.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-4-768x278.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-4.webp 1333w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c22111 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"6c22111\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Simple isn\u2019t it?<\/p><p>So, we got the HTML tag for the title, i.e.,\u00a0<code>h1<\/code>\u00a0which we will integrate into our code to extract it.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9bdbd0c elementor-widget elementor-widget-code-highlight\" data-id=\"9bdbd0c\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>import requests\r\n \r\nurl = \"https:\/\/www.flipkart.com\/apple-iphone-15-pro-max-blue-titanium-256-gb\/p\/itm4a0093df4a3d7\"\r\n \r\nheaders = {\r\n\"User-Agent\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36\",\r\n\"Accept\": \"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7\",\r\n\"Accept-Language\": \"en-US,en;q=0.9\"\r\n}\r\n \r\nresp = requests.get(url, headers=headers)\r\nprint(resp.status_code)\r\n \r\nsoup = BeautifulSoup(resp.text,'html.parser')\r\n \r\ntitle = soup.find('h1').text.strip()\r\n \r\nprint(title)<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8bef867 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"8bef867\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We also created an instance of BeautifulSoup to parse the text from the retrieved response.<\/p><p>Then, using\u00a0<code>soup.find()<\/code>\u00a0method, we navigated to the given HTML path and extracted the product name in text format. We used the\u00a0<code>strip()<\/code>\u00a0method to remove any white trailing spaces from the text.<\/p><p>Before moving further, we should test this code to confirm the correct output.\u00a0Apple iPhone 15 Pro Max (Blue Titanium, 256 GB)<\/p><p>Next, we will get the product pricing.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ceeaf1f elementor-widget elementor-widget-image\" data-id=\"ceeaf1f\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"154\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-5-1024x197.webp\" class=\"attachment-large size-large wp-image-20079\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-5-1024x197.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-5-300x58.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-5-768x148.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-5.webp 1362w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb3de66 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"fb3de66\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>From the above image, we can say that the pricing is under the\u00a0<code>div<\/code>\u00a0tag with class\u00a0<code>_30jeq3 _16Jk6d<\/code>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6afb7cd elementor-widget elementor-widget-code-highlight\" data-id=\"6afb7cd\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>pricing = soup.find(\"div\", {\"class\": \"_30jeq3 _16Jk6d\"}).text.strip()<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a5af668 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"a5af668\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>After that, we will find the product rating.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-08a5584 elementor-widget elementor-widget-image\" data-id=\"08a5584\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"144\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-6-1024x184.webp\" class=\"attachment-large size-large wp-image-20080\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-6-1024x184.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-6-300x54.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-6-768x138.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-6.webp 1338w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ff4850e font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"ff4850e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The product rating is present under the tag span with the id\u00a0<code>productRating_LSTMOBGTAGP4SVJGGH6BVMLK2_MOBGTAGP4SVJGGH6_<\/code>.<\/p><p>Let us integrate this into our code.\u00a0rating = soup.find(\u201cspan\u201d, {\u201cid\u201d: \u201cproductRating_LSTMOBGTAGP4SVJGGH6BVMLK2_MOBGTAGP4SVJGGH6_\u201d}).text.strip()<\/p><p>After the rating, we will target specifications or highlights of the product.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-81dd249 elementor-widget elementor-widget-image\" data-id=\"81dd249\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"275\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-7-1024x352.webp\" class=\"attachment-large size-large wp-image-20081\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-7-1024x352.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-7-300x103.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-7-768x264.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-7.webp 1473w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-97df86e font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"97df86e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The product highlights are contained inside a list with the tag\u00a0<code>li<\/code>\u00a0and the class\u00a0<code>_21Ahn-<\/code>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6008afb elementor-widget elementor-widget-code-highlight\" data-id=\"6008afb\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>highlights = []\r\n \r\nul_elements = soup.select('ul li._21Ahn-')\r\n \r\nfor ul_element in ul_elements:\r\n    highlights.append(ul_element.get_text(strip=True))<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d8ebda font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"3d8ebda\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the above code, first, we created a highlights array that will store our product feature information. Then, we used the\u00a0<code>soup.select()<\/code>\u00a0method to select the highlights list. After that, we looped through that list to target the individual element from that list and extract text data from it.<\/p><p>Following the same approach we learned in previous methods, we can get the product description also.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3da8028 elementor-widget elementor-widget-image\" data-id=\"3da8028\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"211\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-8-1024x270.webp\" class=\"attachment-large size-large wp-image-20091\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-8-1024x270.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-8-300x79.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-8-768x203.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-8.webp 1486w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c2d885 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"6c2d885\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>So, the product description is contained inside the\u00a0<code>div<\/code>\u00a0tag with class\u00a0<code>_1mXcCf RmoJUa<\/code>.description = soup.find(\u201cdiv\u201d, class_=\u201d_1mXcCf RmoJUa\u201d).text.strip()<\/p><p>Finally, we will target the product images.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce06791 elementor-widget elementor-widget-image\" data-id=\"ce06791\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"382\" src=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-9-1536x734-1-1024x489.webp\" class=\"attachment-large size-large wp-image-20092\" alt=\"web scraping flipkart\" srcset=\"https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-9-1536x734-1-1024x489.webp 1024w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-9-1536x734-1-300x143.webp 300w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-9-1536x734-1-768x367.webp 768w, https:\/\/www.scrapingdog.com\/wp-content\/uploads\/2024\/12\/web-scraping-flipkart-9-1536x734-1.webp 1536w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1a4a15c font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"1a4a15c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>After inspecting the images, we discovered that the\u00a0<code>li<\/code>\u00a0tags with the class\u00a0<code>_20Gt85 _1Y_A6W<\/code>\u00a0are holding the individual images.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-49c8885 elementor-widget elementor-widget-code-highlight\" data-id=\"49c8885\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>li_elements = soup.find_all('li', class_='_20Gt85 _1Y_A6W')\r\n \r\nfor li_element in li_elements:\r\nimg_src = li_element.find('img')['src']\r\nimages.append(img_src)\r\n \r\nprint(images)<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c871674 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"c871674\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We have covered all the data points mentioned in the above section.\u00a0<\/p><p>Here is the complete code:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6ca9b0c elementor-widget elementor-widget-code-highlight\" data-id=\"6ca9b0c\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>import requests\r\n \r\nfrom bs4 import BeautifulSoup\r\n \r\nurl = \"https:\/\/www.flipkart.com\/apple-iphone-15-pro-max-blue-titanium-256-gb\/p\/itm4a0093df4a3d7\"\r\n \r\nheaders = {\r\n\"User-Agent\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36\",\r\n\"Accept\": \"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7\",\r\n\"Accept-Language\": \"en-US,en;q=0.9\"\r\n}\r\n \r\nresp = requests.get(url, headers=headers)\r\n \r\nsoup = BeautifulSoup(resp.text,'html.parser')\r\n \r\ntitle = soup.find('h1').text.strip()\r\npricing = soup.find(\"div\", {\"class\": \"_30jeq3 _16Jk6d\"}).text.strip()\r\nrating = soup.find(\"span\", {\"id\": \"productRating_LSTMOBGTAGP4SVJGGH6BVMLK2_MOBGTAGP4SVJGGH6_\"}).text.strip()\r\n \r\nhighlights = []\r\n \r\nul_elements = soup.select('ul li._21Ahn-')\r\n \r\nfor ul_element in ul_elements:\r\nhighlights.append(ul_element.get_text(strip=True))\r\n \r\ndescription = soup.find(\"div\", class_=\"_1mXcCf RmoJUa\").text.strip()\r\n \r\nimages = []\r\n \r\nli_elements = soup.find_all('li', class_='_20Gt85 _1Y_A6W')\r\n \r\nfor li_element in li_elements:\r\nimg_src = li_element.find('img')['src']\r\nimages.append(img_src)\r\n \r\nprint(title)\r\nprint(pricing)\r\nprint(rating)\r\nprint(highlights)\r\nprint(description)\r\nprint(images)<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4c9a6f8 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"4c9a6f8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Run this code in your terminal. You will get the desired output.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-04daf71 elementor-widget elementor-widget-code-highlight\" data-id=\"04daf71\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>Apple iPhone 15 Pro Max (Blue Titanium, 256 GB)\r\n\u20b91,56,900\r\n4.6\r\n[\r\n'256 GB ROM', '17.02 cm (6.7 inch) Super Retina XDR Display',\r\n'48MP + 12MP + 12MP | 12MP Front Camera',\r\n'A17 Pro Chip, 6 Core Processor Processor'\r\n]\r\niPhone 15 Pro Max, a titanium marvel, boasts an aerospace-grade build, making it the lightest Pro model ever. The A17 Pro Chip marks a historic leap in Apple GPUs, delivering unparalleled graphics performance and immersive gaming experiences. The camera system shines with a 48 MP Main camera, offering remarkable detail and automatic portrait enhancements. Convenience is key with the Action button for quick tasks and Focus filters. Plus, it's USB 3 compatible, revolutionizing data transfer speeds. This iPhone even shares its charging cable with your Mac or iPad. Embrace innovation, cut cable clutter, and elevate your mobile experience with the iPhone 15 Pro Max.\r\n[\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/g\/x\/h\/-original-imagtc3k6zztrhnb.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/x\/f\/0\/-original-imagtc3kjgghehst.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/l\/a\/t\/-original-imagtc3kfrghczmq.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/7\/e\/s\/-original-imagtc3kknyq2b95.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/g\/b\/t\/-original-imagtc3kkzh3yf2x.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/4\/e\/r\/-original-imagtc3kugbc22hu.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/1\/w\/r\/-original-imagtc3kkgr9nqxe.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/t\/y\/4\/-original-imagtc3kfsrgguwa.jpeg?q=70&crop=false',\r\n'https:\/\/rukminim2.flixcart.com\/image\/128\/128\/xif0q\/mobile\/o\/x\/q\/-original-imagtc3k4g2bpahb.jpeg?q=70&crop=false'\r\n]<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-06cab46 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"06cab46\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Hurray\ud83e\udd73, we got the results!! Extracting product details from Flipkart was relatively simple compared to\u00a0<a href=\"https:\/\/www.scrapingdog.com\/blog\/scrape-amazon\/\" target=\"_blank\" rel=\"noopener\">scraping Amazon<\/a>.<\/p><p>Also, if you want to add more information to this scraper, feel free to do that with the above-discussed methods.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-720b2b7 elementor-widget elementor-widget-heading\" data-id=\"720b2b7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Conclusion<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-359ba31 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"359ba31\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Retailers who want to master competitor and price monitoring and seek more information about their industry, customers, and market demands can extract data from this Indian E-Commerce giant to stay relevant in the market.\u00a0<\/p><p>In this tutorial, we learned to scrape Amazon Product Data using Python. Please do not hesitate to message me if I missed something.<\/p><p>If you think we can complete your custom scraping projects, feel free to\u00a0<a href=\"https:\/\/share.hsforms.com\/1ex4xYy1pTt6rrqFlRAquwQ4h1b2\" target=\"_blank\" rel=\"nofollow noopener\">contact us<\/a>.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-798f082 elementor-widget elementor-widget-heading\" data-id=\"798f082\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Additional Resources<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e54503 font-color-green elementor-widget elementor-widget-text-editor\" data-id=\"5e54503\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"https:\/\/www.scrapingdog.com\/blog\/scrape-walmart\/\" target=\"_blank\" rel=\"noopener\">How to Scrape Walmart using Python<\/a><\/li><li><a href=\"https:\/\/www.scrapingdog.com\/blog\/scrape-ebay\/\" target=\"_blank\" rel=\"noopener\">How to Scrape eBay using Python<\/a><\/li><li><a href=\"https:\/\/www.scrapingdog.com\/blog\/web-scraping-myntra\/\" target=\"_blank\" rel=\"noopener\">How To Scrape Myntra using Python<\/a><\/li><li><a href=\"https:\/\/www.scrapingdog.com\/blog\/scrape-google-shopping\/\" target=\"_blank\" rel=\"noopener\">How To Scrape Google Shopping<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Flipkart is an Indian ecommerce brand and has a huge data for different types of products. In this guide, we have extracted data from it using Python.<\/p>\n","protected":false},"author":4,"featured_media":20097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[25,84],"tags":[],"class_list":["post-20074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-python"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/posts\/20074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/comments?post=20074"}],"version-history":[{"count":0,"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/posts\/20074\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/media\/20097"}],"wp:attachment":[{"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/media?parent=20074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/categories?post=20074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scrapingdog.com\/wp-json\/wp\/v2\/tags?post=20074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}