<?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 Grind.Coding on Medium]]></title>
        <description><![CDATA[Stories by Grind.Coding on Medium]]></description>
        <link>https://medium.com/@grind.coding?source=rss-9340ad956c00------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*36t7WAkLAYGZJm2m</url>
            <title>Stories by Grind.Coding on Medium</title>
            <link>https://medium.com/@grind.coding?source=rss-9340ad956c00------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:23:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@grind.coding/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[WESOCKETs VS WEBRTCs]]></title>
            <link>https://medium.com/@grind.coding/wesockets-vs-webrtcs-fda63ae7ffa1?source=rss-9340ad956c00------2</link>
            <guid isPermaLink="false">https://medium.com/p/fda63ae7ffa1</guid>
            <category><![CDATA[websocket]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[channel]]></category>
            <category><![CDATA[webrtc]]></category>
            <dc:creator><![CDATA[Grind.Coding]]></dc:creator>
            <pubDate>Sat, 05 Aug 2023 15:36:52 GMT</pubDate>
            <atom:updated>2023-08-05T15:38:19.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>INTRODUCTION</h3><p>Websockets and webRTCs are computer communication protocols used for real time communication with full duplex mode.Are websockets and webRTCs same?If same,why two protocols?if not,what is the difference between them?This article discuss about the similarities and difference between these two communication protocols and tells how and where to use them wisely to get a better outcome.</p><h3>WEBSOCKETS</h3><p>WebSocket is a <strong>client-server communication protocol</strong> in which the communication takes place between the user and the server.The two way communication between two peer takes place through the server.The message that is send by one system will reach the server and the server sends the message to the receiver system(The server will forward the message).In this mode, every message will reach the server and then forwarded to the receiver. Server acts as a gateway for communication .</p><p><em>WEBSOCKETS</em></p><p><strong>SYNTAX</strong> <br> To make websocket connection using javascript,use the below code</p><p>Javascript</p><pre>// Create a new WebSocket.<br>var socket = new WebSocket(&#39;ws://echo.websocket.org&#39;);</pre><h3>PROTOCOLS AND PORTS</h3><ul><li>Websockets uses TCP protocol.</li><li>Websocket protocols-TCP(Transmission Control Protocol),ws protocol(unencrypted connection),wss protocol(encrypted TLC connection).</li><li>Websocket ports-port 80 and port 443.In some cases port 80 will be blocked for websocket connections.</li></ul><h3>ADVANTAGES AND USECASES</h3><h3>File transfers</h3><p>While transferring files,if any byte is lost during transmission,then the entire file may be corrupted or any important data will be lost.Here reliability is more important than speed.For these kind of communication,WebSockets are used as it uses TCP which is reliable.</p><h3>Client-server communication</h3><p>For client-server communication, WebSocket is used.As mentioned above, even in establishing connection through server in webRTCs, websockets are used.In some cases, there must be response generated without any requests and in such cases,webSockets are more preferable.</p><h3>DISADVANTAGES</h3><p>On the other hand,the challenges for implementing websockets are firewalls ,anti-virus and proxies.</p><h3>WHEN TO USE WEBSOCKETS INSTEAD OF WEBRTCS</h3><ul><li>Sharing important files requires reliable transfer protocols and such transfers can be done via webSockets.</li><li>When data integrity is important ,we go for websockets.</li></ul><h3>WEBRTCS</h3><p>On the other hand ,webRTC is a peer to peer communication protocol in which the the messages are sent directly to other system and the messages will not reach the server and no forwarding involved. But the point to note here is,we can&#39;t say that the communication in webRTC takes place without the help of the server.The server is responsible for establishing the connection between two devices.Once the connection is established, the role of the server will be over and peer to peer communication will take place. In webRTC the messages won&#39;t reach the server, instead the messages will be sent directly to the receiver(peer to peer).</p><h3>SYNTAX</h3><p>To establish webRTC connection,either one of the peers has to call createoffer() ,but not both</p><p>Javascript</p><pre>if (signaler.IsClient)<br>{<br>    Console.WriteLine(&quot;establishing connection with the remote peer&quot;);<br>    pc.CreateOffer();<br>}<br>else<br>{<br>    Console.WriteLine(&quot;waiting for the connection...&quot;);<br>}</pre><h3>PROTOCOLS AND PORTS</h3><ul><li>WebRTC uses both UDP and TCP.But UDP is the most preferred form and in most of the cases,UDP is used by webRTC.</li><li>WebRTC protocols-RTP(Real time Transport Protocol) and SCTP(Stream Control Transmission Protocol).</li><li>WebRTC ports-TCP/443,STUN/3478.</li></ul><h3>ADVANTAGES AND USECASES</h3><h3>Live telecast</h3><p>While telecasting a cricket or football match, webRTC is more suitable as the transfer speed is faster than webSockets, so that people can enjoy the live rely. Companies like <strong>facebook,instagram</strong> uses webRTC for live video calls features and live video streaming.Zoom also uses webRTC for live video calls.</p><h3>Chat app</h3><p>Most of the chat apps uses websockets.Chat sessions are long lived. Chatbots also uses websockets.</p><h3>IOT devices</h3><p>IOT devices such as drones and video processing embedded systems uses webRTC to stream the live video captured by the embedded camera.Baby monitoring system is an example for it.</p><h3>DISADVANTAGES</h3><p>WebRTCs are extremely CPU intensive especially while managing large number of users .It makes the process costly.</p><h3>DOES WEBRTC USE WEBSOCKET?</h3><p>The answer is yes. We all know that webRTC is peer to peer communication.But how does the connection between two peer devices takes place? When setting up webRTC communication ,we have to set up some signaling mechanism. For establishing connection between two peer,websockects can be used. Thus webRTC consumes the service of websockets to make the initial connection and once the connection is established, the webRTC take over and peer to peer communication takes place.</p><h3>WHEN TO USE WEBRTCS INSTEAD OF WEBSOCKETS</h3><ul><li>As the messages are not forwarded via server,the communication via webRTC is more secure than communication via webSockets.</li><li>Signaling messages are usually more lighter than signaling real data.</li><li>It enables faster communication</li></ul><h3><strong>Signaling</strong></h3><p>Built in signaling is available thus initial connection will be taken care by websockets.No built in signaling thus we should make the initial connection between peers.</p><h3>WHICH ONE IS BETTER?</h3><p>It is not possible to declare a winner ,as the performance of both depends on certain use cases.Many factors determines the performances such as hardware used and number of concurrent users. Both has their own use cases.It is more than a pointless comparison as the use cases for webSockets and webRTCs are different.</p><h3>IF WEBRTCs ARE FAST,WHY WEBSOCKETS?</h3><p>As the webRTC is faster ,why should we go for websockets? The answer is reliability. While transferring an audio or a video file,if we loss a couple of frames it will not be a major issue but while transferring a file ,if a couple of bytes are lost, then the entire file may be corrupted. Thus while transferring important files,Websockets which uses TCP are used.Websockets can be used in the places where the latency is trivial whereas in transferring audio and video files,webRTCs which uses UDP can be used.Also,the key point here is the difference in the latency in TCP is slightly higher than UDP. For data integrity,when it comes to data packet delivery,WebSockets are used because in UDP some packets may be lost while transferring the packets.</p><h3>CONCLUSION</h3><p>Websockets and webRTCs are used for real time full duplex communication and both has their own use cases .Even though, they may have some similarities,they are not same in both functionality and use cases. Hope this article helps you to understand websockets and webRTCs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fda63ae7ffa1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Java Spring Boot Application On Kubernetes With DATABASE]]></title>
            <link>https://medium.com/@grind.coding/deploying-java-spring-boot-application-on-kubernetes-with-database-a62ccf5aae20?source=rss-9340ad956c00------2</link>
            <guid isPermaLink="false">https://medium.com/p/a62ccf5aae20</guid>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Grind.Coding]]></dc:creator>
            <pubDate>Wed, 02 Aug 2023 10:06:20 GMT</pubDate>
            <atom:updated>2023-08-02T10:06:20.946Z</atom:updated>
            <content:encoded><![CDATA[<p>Hands-On Guide</p><p>Deploying a Java Spring Boot Application on Kubernetes with MySQL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*yI3VUdCo9ZXkniC2.png" /></figure><p>WORK FLOW:</p><ol><li>Set up the cloud server</li><li>Install the dependencies</li><li>Set up Mini-Kube</li><li>Clone the Repository</li><li>Configure the database required.</li><li>Build the project</li><li>Create the Docker images</li><li>Push the images to Dockerhub</li><li>Run the manifest files(K8s)</li><li>Do port forwarding</li><li>Check JSON data to be hit on POSTMAN</li><li>Add some data to the database using postman</li><li>check the DB \\</li><li>Check MINI-KUBE dashboard.</li></ol><p>Source Code :</p><h3><a href="https://github.com/SurendarSv/SpringBootOnK8s.git">GitHub — SurendarSv/SpringBootOnK8s</a></h3><h3><a href="https://github.com/SurendarSv/SpringBootOnK8s.git">Contribute to SurendarSv/SpringBootOnK8s development by creating an account on GitHub.</a></h3><h3>STEPS :</h3><p>create a server t2.medium</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*NDtJTRnPXjpah4Dv.png" /></figure><p>Connect through SSH:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*EjNqZN-E2MqQpjP9.png" /></figure><p>Update the packages and package caches.</p><pre>#sudo su<br>#yum update -y</pre><p>Install docker:</p><pre>#yum install docker</pre><pre>#systemctl enable docker</pre><pre>#systemctl start docker</pre><pre>#systemctl status docker</pre><pre>#docker — version</pre><p>Check Docker version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*QNMG3-lMaLh4lVTy.png" /></figure><p>Start docker and check status docker</p><p>Conntrack : is a short for Connection Tracking, is a crucial component in Kubernetes networking that is required for reliable communication between containers and services. It is responsible for tracking network connections and their states, allowing the Kubernetes networking stack to function properly.</p><p>Conntrack is needed for minikube.</p><p>Install Conntrack:</p><pre>#yum install conntrack -y</pre><p>Install git. Use command :</p><pre>#yum install git</pre><pre>#git --version</pre><p>To download the latest version of Minikube for the Linux platform.</p><pre>#curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64</pre><pre>#ls -lrta</pre><p>minikube has been downloaded.</p><p>Install minikube.</p><pre>#sudo install minikube-linux-amd64 /usr/local/bin/minikube</pre><p>Start minikube:</p><p>minikube is platform which gives k8s</p><pre>#/usr/local/bin/minikube start --force --driver=docker</pre><p>Why do we need docker driver?</p><p>Kubernetes is a platform which is running on docker. Docker is helping Kubernetes to run.</p><p>Check minikube version</p><pre>#/usr/local/bin/minikube version</pre><p>Install kubectl:</p><pre>curl -LO &quot;https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl&quot;</pre><p>Giving permissions to kubectl</p><pre>sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl</pre><p>Check version</p><pre>/usr/local/bin/kubectl version</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*-UKADq5QEwq8_UTO.png" /></figure><p>Install git</p><p>Clone the repo:</p><pre>yum install git -y<br>git --version<br>cd /opt<br>git clone https://github.com/SurendarSv/SpringBootOnK8s.git</pre><p>DB installation / make the DB up:</p><pre>/usr/local/bin/kubectl get pods<br>/usr/local/bin/kubectl create -f db-deployment.yaml</pre><p>To create the persistent database and other services.</p><p>Change dir to /usr/local/bin</p><p>Because minikube has been installed there.</p><pre>cd /usr/local/bin</pre><p>Check pods:</p><pre>kubectl get pods</pre><p>Check database i.e going inside the container</p><pre>/usr/local/bin/kubectl exec -it &lt;POD_NAME&gt;/bin/bash<br>IN MY CASE<br>/usr/local/bin/kubectl exec -it mysql-f759455cd-n5gw6 /bin/bash</pre><p>Enter the DB,password is : root</p><pre>mysql -u root -p</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*gtO4XWkvxyiOokHS.png" /></figure><p>DB created from the deployment file.DB name : singamlabs</p><p>now exit the pod.</p><p>Install maven now and check version:</p><pre>yum install maven -y<br>mvn -v</pre><pre>docker images</pre><p>Create the docker image now.</p><pre>docker build -t surendar24/springboot-crud-k8s:1.0 .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*cqzFGSuP5ErLnV8V.png" /></figure><p>Login to docker hub:</p><pre>docker login</pre><p>Push the image to docker hub:</p><pre>docker image push surendar24/springboot-crud-k8s:1.0 .</pre><p>IMAGE is pushed to docker hub:</p><p>execute the app. deploy.yaml file.</p><pre>/usr/local/bin/kubectl apply -f app-deployment.yaml</pre><p>Check pods</p><pre>/usr/local/bin/kubectl get pods</pre><p>4 pods -&gt; 3 are replicas</p><p>Check svc available.</p><pre>/usr/local/bin/kubectl get svc</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*_liPJnOL3p-ddX1H.png" /></figure><p>minikube ip</p><pre>/usr/local/bin/minikube ip</pre><p>Why multiple pods/pod replicas?</p><p>Replicas are being created so that the traffic will get distributed.</p><h3>PORT-FORWARDING</h3><p>Port forwarding is a networking technique used to redirect network traffic from one port on a host to another port on a different host or the same host. In the context of Kubernetes, port forwarding allows you to access services running inside a Kubernetes cluster from your local machine or another remote host.</p><p>Put port forward.</p><pre>/usr/local/bin/kubectl port-forward --address 0.0.0.0 svc/springboot-crud-svc 8080:8080 &amp;</pre><p>Update it.</p><p>Now go back to postman again. And add a entry.</p><p><a href="https://web.postman.co/workspace/My-Workspace~62e42885-179f-4b9c-820d-71821bd09887/request/create?requestId=1d89f10a-d7e6-4520-8521-aa700d7b363d">POSTMAN</a></p><p>POST method :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*2ufaSbTlC-4Igb8f.png" /></figure><p>GET method :</p><pre>/usr/local/bin/kubectl exec -it mysql-f759455cd-n5gw6 /bin/bash</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/0*24d4T2In3J0pi1c0.png" /></figure><p>The Changes can be observed instanly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ISTkOAhqIF2Uai6R.png" /></figure><p>Exit mySQL</p><p>Open the Dashboard of K8S.</p><p>Open a new terminal of your server and then perform this command.</p><p>Inside EC2 our minikube is running so we are setting a proxy for all the local address</p><pre>/usr/local/bin/kubectl proxy --address=&#39;0.0.0.0&#39; --accept-hosts=&#39;^*$&#39;</pre><p>The proxy server is started on port 8001.</p><p>Open another terminal:</p><pre>/usr/local/bin/minikube dashboard</pre><pre><br>change the IP address with your EC2 server IP address and port 8081.<br>In my case:<br>http://20.234.84.191:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*kN03SLsXyIfvlyqH.png" /></figure><p>Hence Deployment a Java Spring Boot Application on Kubernetes with MySQL.</p><blockquote>Detailed Project OverView:</blockquote><blockquote><a href="https://www.youtube.com/watch?v=tfoOBn_hcgc&amp;list=PLj-3PZlPbUVThOSi1QRqNQoTlE04Kl4zN&amp;index=3">youtube.com/watch?v=tfoOBn_hcgc&amp;list=PL..</a></blockquote><blockquote>Credits: <a href="https://www.youtube.com/@PraveenSingampalli">Praveen Singampalli</a></blockquote><blockquote>PROJECT DONE BY:<a href="https://www.linkedin.com/in/surendar-sv-a940821bb/"> Surendar SV</a></blockquote><p>Thanks for reading :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a62ccf5aae20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web scraping using python]]></title>
            <link>https://medium.com/@grind.coding/web-scraping-using-python-19d598a082e9?source=rss-9340ad956c00------2</link>
            <guid isPermaLink="false">https://medium.com/p/19d598a082e9</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[beautifulsoup]]></category>
            <dc:creator><![CDATA[Grind.Coding]]></dc:creator>
            <pubDate>Mon, 24 Jul 2023 17:51:06 GMT</pubDate>
            <atom:updated>2023-07-24T17:59:19.254Z</atom:updated>
            <content:encoded><![CDATA[<p>Web scraping is one of the important Data analysis tool through which many valuable information in a web page can be obtained and processed.In this blog,we are going to scrape IMDb web page and we are going to store the useful data in an excel sheet using Python.The library we are going to use for scarping will be <strong><em>BeautifulSoup</em></strong>.We also use<strong><em> request</em></strong> library to get the webpage using the url of the page.We use<strong><em> openpyxl</em></strong> for storing the data in an excel sheet.Let’s get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*FSqZ1NRqY6hDjSywvMCT7g.jpeg" /></figure><p>First of all,we are going to install the required libraries,</p><p><strong><em>&gt;&gt;pip3 install Beautifulsoup4</em></strong></p><p><strong><em>&gt;&gt;pip3 install request</em></strong></p><p><strong><em>&gt;&gt;pip3 install openpyxl</em></strong></p><p>import the above libraries</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*veViYXAVXKHbTIfP7dC__Q.png" /></figure><p>Now,we are going to get the webpage through request.get()method.To get that in the form of text,use .text in the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*2gL_FSozUBDYX0TjcbA6uQ.png" /></figure><p>The output of the above code is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kHoSHK_u0AilY6CZ39zv3Q.png" /><figcaption>The code of the page</figcaption></figure><p>Now,we are going to parse the page in html format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*4FhkwJQcZ887Wz42_cbHNg.png" /></figure><p>Now,Go to the corresponding page and inspect the page.</p><p>Here,web scarping is done with the help of html tags.Every section in a web page has a html tag and we are going to get the useful data through the tag using the class name of the tag or id or using other selector names.To do so,we have to inspect the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2WQuf7h0yQTwFtwTHZZBcg.png" /></figure><p>Right click on the specific area where the useful information is displayed and click inspect to get the html tag along with the name of the class.</p><p>Here,we are going to get the top 100 film’s details.Here,one div is repeated hundred times to display the details of 100 films.The information that posses may differ but the tag remains the same.So,we are going to find the outter div tag for those 100 films and will use a for loop to iterate through 100 tags.</p><p>To get the outer tag,use find() method in Beautifulsoup,This function will remain the tag that comes first in the html page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*FBgbojxxeQ0NIUlAsTUtgw.png" /></figure><p>A part of output of the above code is given for your reference</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oWtTrZfXGn8A3cJhiOB1pA.png" /></figure><p>Here,we specify the html tag along with the class name.As the inner tags are repeatative and we have to get all the tags,we can use findall() method,This will return a list with all the tags that matches the findall() parameters</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*T8ufG8gVt_EmJRSv07cTbg.png" /></figure><p>Now,To get the details of all the 100 films,we use for loop with the each in which the tags of 100 films are stored as a list.</p><p>A part of the list is given</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ui78flsP-tW6cjGSeABFrw.png" /></figure><p>We are going to add the data in a excel sheet.Thus ,we have to create an excel sheet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*rIrVLmHBlmh_tI2JR4NDFA.png" /></figure><p>We create an excel workbook and activate an excel sheet.Then give it a title and append the column names in a list format.We are going to add the film’s details in the similar way.</p><p>The individual tags will be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*uA9RIIyEh7SdtcAKPM3gIg.png" /></figure><p>As they are repeatative,we can scrape a single instance and use a for loop to scarpe the other.</p><p>Go deep into the tags to get information</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*iJfKZ_sqxd_gkXLTZlYHkw.png" /></figure><p>In this code,In the &lt;a&gt; tag,we can find the movie’s name,So here we can just access the &lt;a&gt; tag for all 100 movies..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/1*00O6w0ygQrK2pa5p3W3z9A.png" /></figure><p>The output will be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*1uii-MySMisDq5qyMLqdzQ.png" /></figure><p>use .text to get the text data of the tag</p><p>Likewise,to get year,rating and rank,handle the tags in a proper way</p><p>To get the rank,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*gSA0_5y0AwlZn82nA7yjpw.png" /></figure><p>To get the rating and the year of release,do the same.The entire for loop will be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*bcZyFa8LCdZmICA1PXT8_A.png" /></figure><p>For all the data,we find the specific tag.Similarly,we can get all the details through the tags and store them in a variable.At last,we are going to append them in the excel sheet.That’s all,a simple and efficient web scraping is done and dusted.</p><p>Save the excel file at the end</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*mfczz9--YxIlZL9Cf-4Kug.png" /></figure><p>The output will be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*dUGc6rUK7W8KEYgoujoQuQ.png" /></figure><p>The entire code is given for your reference</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEAdGkdPS4fKkwdfNBLchw.png" /></figure><p>Here,exception handling is used to catch the exception if the link is expired.</p><h3><strong>Thanks for reading</strong></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19d598a082e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>