title: How to recover http link from a <link/> tag
body: <p>I am trying to recover web links from an RSS page. I am using Python3, requests,and BeautifulSoup4, on a Windows 10 system. My code is as follows:</p>
  <pre><code>rSS = &quot;http://www.example.com/xml/rss/all.xml&quot;
  mYHeaders = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0'}
  SourcePage = requests.get(rSS, headers = mYHeaders, timeout=(5,10))
  SourceText = SourcePage.text
  soup = BeautifulSoup(SourceText, 'html.parser')
  Articles = soup.findAll('item')
  for i in Articles:
      Title = i.title
      Link = i.link
      Pub = i.pubdate
      print('Title: ', Title)
      print('Link: ', Link)
      print('Pub: ', Pub)
  </code></pre>
  <p>This prints out as follows:</p>
  <pre><code>Title:  &lt;title&gt;There is some text here&lt;/title&gt;
  Link:  &lt;link/&gt;
  Pub:  &lt;pubdate&gt;Sat, 06 Feb 2021 10:22:41 +0000&lt;/pubdate&gt;
  </code></pre>
  <p>Individual items in Articles are of the following form:</p>
  <pre><code>&lt;item&gt;
  &lt;link/&gt;https://www.example.com/news/2021/2/6/blahblah
                  &lt;title&gt;Some title text here&lt;/title&gt;
  &lt;description&gt;&lt;![CDATA[Some text here&amp;#039; and here.]]&gt;&lt;/description&gt;
  &lt;pubdate&gt;Sat, 06 Feb 2021 11:58:23 +0000&lt;/pubdate&gt;
  &lt;category&gt;News&lt;/category&gt;
  &lt;guid ispermalink=&quot;false&quot;&gt;https://www.example.com/?t=1234567&lt;/guid&gt;
  &lt;/item&gt;
  </code></pre>
  <p>The problem is with</p>
  <pre><code>&lt;link/&gt; 
  </code></pre>
  <p>as it is not captured in the appropriate form i.e.</p>
  <pre><code>&lt;link&gt;...&lt;/link&gt;
  </code></pre>
  <p>When I open the same link (rSS above) in my browser (Firefox), the link tags are being shown correctly:</p>
  <pre><code>&lt;item&gt;
  &lt;link&gt;
  https://www.example.com/blah/blah
  &lt;/link&gt;
  &lt;title&gt;
  Some title text here.
  &lt;/title&gt;
  &lt;description&gt;
  Some description here.
  &lt;/description&gt;
  &lt;pubDate&gt;Sun, 07 Feb 2021 08:03:48 +0000&lt;/pubDate&gt;
  &lt;category&gt;News&lt;/category&gt;
  &lt;guid isPermaLink=&quot;false&quot;&gt;https://www.example.com/?t=123456&lt;/guid&gt;
  &lt;/item&gt;
  </code></pre>
  <p>I am guessing the problem lies with using the html.parser for an xml page. If I need to use some xml parser, could you guide me which one to use on Python3. The code would be running on a raspberry pi, but I am developing it on Windows10.</p>
  <p>Thanks in advance for a solution!</p>