File: reference-href.rst

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
:py:attr:`href`
===============

The final :abbr:`URL (Uniform Resource Locator)` of the feed that was parsed.

If the feed was redirected from the original requested address, :py:attr:`href`
will contain the final (redirected) address.

.. tip::

   :py:attr:`href` will only be present if the feed was retrieved from a web
   server.  If the feed was parsed from a local file or from a string in memory,
   :py:attr:`href` will not be present.