<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nandini Saini on Medium]]></title>
        <description><![CDATA[Stories by Nandini Saini on Medium]]></description>
        <link>https://medium.com/@nandinisaini021?source=rss-153896ac8cb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_erpcJSwJQh67gvrG0zSbg.jpeg</url>
            <title>Stories by Nandini Saini on Medium</title>
            <link>https://medium.com/@nandinisaini021?source=rss-153896ac8cb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:46:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nandinisaini021/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Scraping Publications of Aerial Image Research Papers on Google Scholar using Python]]></title>
            <link>https://medium.com/@nandinisaini021/scraping-publications-of-aerial-image-research-papers-on-google-scholar-using-python-a0dee9744728?source=rss-153896ac8cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0dee9744728</guid>
            <category><![CDATA[scraping-with-python]]></category>
            <category><![CDATA[google-scholar]]></category>
            <category><![CDATA[collecting]]></category>
            <category><![CDATA[research-paper]]></category>
            <dc:creator><![CDATA[Nandini Saini]]></dc:creator>
            <pubDate>Wed, 18 Aug 2021 16:15:27 GMT</pubDate>
            <atom:updated>2021-08-18T16:35:21.164Z</atom:updated>
            <content:encoded><![CDATA[<h3>Scraping Information of Research Papers on Google Scholar using Python</h3><p>using Requests , Pandas and Beautiful Soup</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*1EMyw4ydd4tF-h7Tu6ylvQ.jpeg" /></figure><p>Every researcher needs an excellent platform where he can freely access the literature of various areas. Hence Google scholar is one of the best freely accessible search engines, which provides a wide variety of published literature in the form of articles, research papers, etc.</p><p>But sometimes, over choice leads to confusion. The <a href="https://scholar.google.com/">page </a>provides list of papers on google scholar. We need to enter a keyword to see all the related papers . In this article , we’ll retrieve information from this page using <strong>Web Scraping</strong> that provides a way to collect information from the website in a meaningful manner based on our interests. We’ll use the python libraries <strong>Requests</strong> and <strong>Beautiful Soup </strong>to scrape data from this page.</p><p>Here’s step by step outline of this project:</p><ol><li>Download the google scholar webpage of related topic using requests</li><li>Parse the HTML code source code using beautiful soup</li><li>Extract Title of the paper , Number of citation , Author of the paper , Year of Publication , Place of Publication from page</li><li>Compile the data and create a CSV file using pandas</li></ol><h3>Download the google scholar webpage using requests</h3><p>To begin , we’ll use the requests Python library to download the web page. Let’s install and import requests .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F11%26cellId%3D11-12%26hideOutput%3Dtrue&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F11%26cellId%3D11-12%26hideOutput%3Dtrue&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F5cb44de4697a455cba1d72c0e22597fb%2Fpreview%2F8b3c75a5a8194ff586636d3fc3fc9098&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/a1adc70d818cc4701ce04e978d3a1d67/href">https://medium.com/media/a1adc70d818cc4701ce04e978d3a1d67/href</a></iframe><p>We can use requests.get to download a page . Here we also need to define headers in this function because google scholar webpage required login.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F11%26cellId%3D13-15&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F11%26cellId%3D13-15&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F5cb44de4697a455cba1d72c0e22597fb%2Fpreview%2F8b3c75a5a8194ff586636d3fc3fc9098&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/8f1c8b2e1b0a9d8bd1ba6b436d14aa7a/href">https://medium.com/media/8f1c8b2e1b0a9d8bd1ba6b436d14aa7a/href</a></iframe><p>The response object contains the result of the requests , the status code and other information . We can access the contents of the webpage using response.text .</p><h3>Parse the HTML code source code using beautiful soup</h3><p>We’ll use the Beautiful Soup Python library to parse the HTML source code of the web page downloaded in the previous section. Let’s install and import the Beautiful Soup library.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F13%26cellId%3D20-21&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F13%26cellId%3D20-21&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F5cb44de4697a455cba1d72c0e22597fb%2Fpreview%2Fc13fd021aa234c9385299889f1bdee12&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab30be4a382b54da89669300a8f1c504/href">https://medium.com/media/ab30be4a382b54da89669300a8f1c504/href</a></iframe><p>We can use the BeautifulSoup class to parse an HTML document.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F13%26cellId%3D22&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fwebscrap-project%2Fv%2F13%26cellId%3D22&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F5cb44de4697a455cba1d72c0e22597fb%2Fpreview%2Fc13fd021aa234c9385299889f1bdee12&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/e8eb3cd3205424775fe2c815d662b920/href">https://medium.com/media/e8eb3cd3205424775fe2c815d662b920/href</a></iframe><p>Once parsed , we can use doc to extract information from the web page. Now , let’s create the reusable helper function get_paperinfo that can download a web page and create a beautiful soup doc for given URL.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D8&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D8&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/c71e57a59bbb12c5f9e805981715629c/href">https://medium.com/media/c71e57a59bbb12c5f9e805981715629c/href</a></iframe><h3>Extract Title of the paper , Number of citation , Author , Year of Publication , Place of Publication</h3><p>We will create the lists of the tags and extract the information of like title of the paper , number of citation etc. For each , we will create the helper function .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7T-bJb2L8tYDXIrZSu4LCQ.png" /></figure><h4>Extracting Tags</h4><p>For extracting tags , we will create get_tags function which will return the tags for the title of the paper, citation , URL and author .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D9&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D9&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/1e497f9937f0444b05f5915ac91d141a/href">https://medium.com/media/1e497f9937f0444b05f5915ac91d141a/href</a></iframe><h4>Extracting Title of the paper</h4><p>For extracting the title of the research paper , we will define the helper function get_papertitle which will use previously extracted paper tags list .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D10&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D10&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/13e5729f2982d1887cc0e4a4b1be58e7/href">https://medium.com/media/13e5729f2982d1887cc0e4a4b1be58e7/href</a></iframe><h4>Extracting Citation Count of the paper</h4><p>Now get_citecount helper function defined for extracting information of citation count of the paper using above extracted cite_tag .If paper has no citation , then count will zero .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D11&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D11&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/7bc57cd869b3e775a40d2448589834c4/href">https://medium.com/media/7bc57cd869b3e775a40d2448589834c4/href</a></iframe><h4>Extracting URL of the paper</h4><p>The helper function get_link returns the URL of the paper.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D12&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D12&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/963eb9a95bfcd67c5d7ac025a5109027/href">https://medium.com/media/963eb9a95bfcd67c5d7ac025a5109027/href</a></iframe><h4>Extracting authors name , year and publication information</h4><p>For extracting the authors name , published year of the paper and information of conference / journal of the paper in which paper published, we will define the function get_author_year_publi_info .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D13&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D13&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/5dc237dac8c60517b931dcd64d9a70cb/href">https://medium.com/media/5dc237dac8c60517b931dcd64d9a70cb/href</a></iframe><h3>Compile the data and create a CSV file using pandas</h3><p>Now , we have extract all the information of regarding the research papers of google scholar . We will store this information as dictionary .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D15&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D15&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/ebe568205c1556bc1e0b7e2f40870058/href">https://medium.com/media/ebe568205c1556bc1e0b7e2f40870058/href</a></iframe><p>In the above post , we will extract information from the single webpage . If we want to extract information from multiple page then we will iterate over the each page of google scholar. Here we are scraping the total 10 pages of data. We can scrape more .For this we need to change the number in the range.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D17&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D17&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a95f77487e9fe4102d5d21fb9b4363d/href">https://medium.com/media/7a95f77487e9fe4102d5d21fb9b4363d/href</a></iframe><p>Finally we will store information in the dataframe using pandas which will look like as :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D20&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D20&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/b478686671832b4aa1718405565cbac0/href">https://medium.com/media/b478686671832b4aa1718405565cbac0/href</a></iframe><p>Now we will store this information in the csv format .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D22&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fsaini-9%2Fdataanalyst-bootcamp-project1-web-scraping%2Fv%2F1%26cellId%3D22&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2F06f885f7c95b4d79913426d1bccb8262%2Fpreview%2F657cedeea23046db9a0005f2748c5fb5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/34e72ce6eb1674318b491713af4bb953/href">https://medium.com/media/34e72ce6eb1674318b491713af4bb953/href</a></iframe><h3>Summary</h3><p>In this blog post, we accumulated information about research papers in the area of aerial images from the website (<a href="https://jovian.ai/outlink?url=https%3A%2F%2Fscholar.google.com%2F">https://scholar.google.com/</a>).The metadata gathered about the various published research papers title, in which year and which journal/conference these published, who are the authors, and link of the papers.</p><p>To scrape these pieces of information, we have taken the followings steps :</p><ol><li>We scraped the web page content using the Beautiful Soup library.</li><li>We defined the function for the these things :</li></ol><ul><li>Extracting tags for relevant parts</li><li>Using tag , extract data for the paper title name , authors , year , number of citations etc.</li></ul><p>3. We iterated above steps for the each web page and collected data from 10 pages.</p><p>4. We stored this dataset in the format of csv.</p><h3>Future Works</h3><p>The current web-scraping project is collecting all the papers of the area in aerial image analysis. It can be more generalized if we scrape papers for any defined area. From this scraped data, we can visualize the research area that which papers get more citations, how much work is happening in this area, what are the top papers along with top conferences/journals. This data can also help to make a detailed literature survey on the specific area.</p><h3>References</h3><ol><li><a href="https://jovian.ai/learn/zero-to-data-analyst-bootcamp/lesson/web-scraping-and-rest-apis">https://jovian.ai/learn/zero-to-data-analyst-bootcamp/lesson/web-scraping-and-rest-apis</a></li><li><a href="https://jovian.ai/outlink?url=https%3A%2F%2Fdocs.python-requests.org%2Fen%2Fmaster%2F">https://docs.python-requests.org/en/master/</a></li><li><a href="https://jovian.ai/outlink?url=https%3A%2F%2Fwww.crummy.com%2Fsoftware%2FBeautifulSoup%2Fbs4%2Fdoc%2F">https://www.crummy.com/software/BeautifulSoup/bs4/doc/</a></li><li><a href="https://jovian.ai/outlink?url=https%3A%2F%2Fwww.tutorialspoint.com%2Frequests%2Frequests_web_scraping_using_requests.htm">https://www.tutorialspoint.com/requests/requests_web_scraping_using_requests.htm</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0dee9744728" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>