Skip to main content

Date parsing library designed to parse dates from HTML pages

Project description

https://badge.fury.io/py/dateparser.png https://travis-ci.org/scrapinghub/dateparser.png?branch=master https://pypip.in/d/dateparser/badge.png

Date parsing library designed to make it easy parsing dates commonly found in web pages

Features

If you have needed to parse dates before, you probably have used the date parser of the dateutil module. We built this library on top of it, adding a few features:

  • dateparser support dates in languages other than English

  • in fact, it can detect the language automatically

  • it can give you the date for text like: '1 min ago', '2 weeks ago', '3 months, 1 weeks and 1 day ago', etc

The goal is to support the common date formats used in websites all around the world.

Limitations

DateParser currently tries hard to get the date information right (year, month and day), but it has limited support for parsing time (hours, minutes and seconds).

History

0.1.0 (2014-11-24)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dateparser-0.1.0.tar.gz (28.9 kB view hashes)

Uploaded Source

Built Distribution

dateparser-0.1.0-py2.py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page