notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-htmldate Fast and robust extraction of publication dates from URLs and web pages
1.9.3_2 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.9.3Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-02-21 15:19:46
Last Update: 2025-09-15 13:55:40
Commit Hash: a6233e5
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://htmldate.readthedocs.io/en/latest/
https://github.com/adbar/htmldate
Description:
htmldate finds original and updated publication dates of any web page. From the command-line or within Python, all the steps needed from web page download to HTML parsing, scraping, and text analysis are included.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}htmldate>0:www/py-htmldate@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-htmldate/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-htmldate
  • pkg install py311-htmldate
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-htmldate listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-htmldate
Package flavors (<flavor>: <package>)
  • py311: py311-htmldate
distinfo:
TIMESTAMP = 1735705211 SHA256 (htmldate-1.9.3.tar.gz) = ac0caf4628c3ded4042011e2d60dc68dfb314c77b106587dd307a80d77e708e9 SIZE (htmldate-1.9.3.tar.gz) = 44913

Packages (timestamps in pop-ups are UTC):
py39-htmldate
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a-1.7.0
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

py311-htmldate
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.9.3_21.9.3_2-1.9.3_21.9.3_2n/an/an/a
FreeBSD:13:quarterly1.9.3_21.9.3_2-1.9.31.9.3_2n/an/an/a
FreeBSD:14:latest1.9.3_11.9.3_2-1.9.3_11.9.3_2---
FreeBSD:14:quarterly1.9.3_21.9.3_2-1.9.31.9.3_2---
FreeBSD:15:latest1.9.3_21.9.3_2n/a1.9.3_1n/an/a--
FreeBSD:15:quarterly1.9.3_21.9.3_2n/a-n/an/a--
FreeBSD:16:latest-1.9.3_2n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=61.0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-charset-normalizer>=3.4.0 : textproc/py-charset-normalizer@py311
  2. py311-dateparser>=1.1.2 : devel/py-dateparser@py311
  3. py311-lxml>=5.3.0 : devel/py-lxml@py311
  4. py311-python-dateutil>=2.9.0 : devel/py-python-dateutil@py311
  5. py311-urllib3>=1.26,1<3,1 : net/py-urllib3@py311
  6. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_py-htmldate
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/h/htmldate/
  2. https://pypi.org/packages/source/h/htmldate/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.9.3_2
15 Sep 2025 13:55:40
commit hash: a6233e5a2fdfc3f67a89a90ac005521f25395355commit hash: a6233e5a2fdfc3f67a89a90ac005521f25395355commit hash: a6233e5a2fdfc3f67a89a90ac005521f25395355commit hash: a6233e5a2fdfc3f67a89a90ac005521f25395355 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml

Currently, there are two versions of python XML processing library
which conflict each other in the ports tree, namely:
- devel/py-lxml5 (now at version 5.4.0)
- devel/py-lxml  (now at version 6.0.1)

To avoid the situation that some ports depend on py-lxml5 and some
others do on py-lxml (by switching dependencies individually), this
commit switches the dependencies from py-lxml5 to py-lxml at once.

Additional note: There are still two ports (textproc/py-rdflib and
www/py-draftjs-exporter) depending on py-lxml5 since they limit upper
version to less than 6.

PR:		289491
Approved by:	Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd,
		crees, madpilot, delphij, marcus, nivit, kai,
		skreuzer, fluffy, bofh, thierry, stephen, sunpoet,
		0mp, Eric Camachat <eric@camachat.org>
1.9.3_1
12 Aug 2025 18:15:52
commit hash: d3e80a1071be6f9c94d56793eead69e3eea363cdcommit hash: d3e80a1071be6f9c94d56793eead69e3eea363cdcommit hash: d3e80a1071be6f9c94d56793eead69e3eea363cdcommit hash: d3e80a1071be6f9c94d56793eead69e3eea363cd files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Allow build with py-lxml 6.0.0+

- Bump PORTREVISION for package change

Obtained
from:	https://github.com/adbar/htmldate/commit/b32422541cbc1f610838784f010a2e8cfc36fa05
1.9.3
02 Jan 2025 02:45:17
commit hash: f92d1c5cd90a4258be04d23da7cbcff351f0641bcommit hash: f92d1c5cd90a4258be04d23da7cbcff351f0641bcommit hash: f92d1c5cd90a4258be04d23da7cbcff351f0641bcommit hash: f92d1c5cd90a4258be04d23da7cbcff351f0641b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Update to 1.9.3

Changes:	https://github.com/adbar/htmldate/releases
1.9.2
21 Nov 2024 13:38:23
commit hash: 41a1c9183c993fca1719fc968849d946a080da1dcommit hash: 41a1c9183c993fca1719fc968849d946a080da1dcommit hash: 41a1c9183c993fca1719fc968849d946a080da1dcommit hash: 41a1c9183c993fca1719fc968849d946a080da1d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Update to 1.9.2

Changes:	https://github.com/adbar/htmldate/releases
1.9.1
14 Oct 2024 05:25:50
commit hash: 2e38b7dfcb416fa58f39d8c055719ae35c07a1bfcommit hash: 2e38b7dfcb416fa58f39d8c055719ae35c07a1bfcommit hash: 2e38b7dfcb416fa58f39d8c055719ae35c07a1bfcommit hash: 2e38b7dfcb416fa58f39d8c055719ae35c07a1bf files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Update to 1.9.1

Changes:	https://github.com/adbar/htmldate/releases
1.9.0
08 Sep 2024 18:37:50
commit hash: bd0b38e9c1cc28e562d6840095e710a597d7bb84commit hash: bd0b38e9c1cc28e562d6840095e710a597d7bb84commit hash: bd0b38e9c1cc28e562d6840095e710a597d7bb84commit hash: bd0b38e9c1cc28e562d6840095e710a597d7bb84 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Update to 1.9.0

Changes:	https://github.com/adbar/htmldate/releases
1.8.1_1
13 Apr 2024 14:47:51
commit hash: 84a372ad5ff0dab59a76d894d1e7fb0a5bb7b742commit hash: 84a372ad5ff0dab59a76d894d1e7fb0a5bb7b742commit hash: 84a372ad5ff0dab59a76d894d1e7fb0a5bb7b742commit hash: 84a372ad5ff0dab59a76d894d1e7fb0a5bb7b742 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil

- Convert to USE_PYTHON=pep517
- Bump PORTREVISION of dependent ports for dependency change
- While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of
PKGNAMEPREFIX for *_DEPENDS
1.8.1
13 Apr 2024 11:57:44
commit hash: d66cf347b25b4228379a58b52c9580e523c5f159commit hash: d66cf347b25b4228379a58b52c9580e523c5f159commit hash: d66cf347b25b4228379a58b52c9580e523c5f159commit hash: d66cf347b25b4228379a58b52c9580e523c5f159 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Update to 1.8.1

Changes:	https://github.com/adbar/htmldate/releases
1.8.0
31 Mar 2024 03:08:04
commit hash: ed9ba92465e806528caba13db8b065cd8486ab12commit hash: ed9ba92465e806528caba13db8b065cd8486ab12commit hash: ed9ba92465e806528caba13db8b065cd8486ab12commit hash: ed9ba92465e806528caba13db8b065cd8486ab12 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Update to 1.8.0

- Update LICENSE
- Convert to USE_PYTHON=pep517

Changes:	https://github.com/adbar/htmldate/releases
1.7.0
21 Feb 2024 15:06:10
commit hash: 0532aa392a247337f8afcc9c58025347d9fff64ccommit hash: 0532aa392a247337f8afcc9c58025347d9fff64ccommit hash: 0532aa392a247337f8afcc9c58025347d9fff64ccommit hash: 0532aa392a247337f8afcc9c58025347d9fff64c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/py-htmldate: Add py-htmldate 1.7.0

htmldate finds original and updated publication dates of any web page. From the
command-line or within Python, all the steps needed from web page download to
HTML parsing, scraping, and text analysis are included.

Number of commits found: 10