Quantcast
Channel: feed2exec:ada7aaabd5f0f873d4c38a5d59549b6bd173bdcc commits
Viewing all articles
Browse latest Browse all 40

fix another test failure in newer feedparser

$
0
0
It seems like feedparser found a new way to default certain dates. We were previously correctly parsing that date before, but for some obscure reason feedparser is now defaulting to the feed's updated_parsed field instead. Typically, this was being parsed by dateparser, but it seems this is either failing (which I cannot confirm locally) or ignored by feedparser: anarcat@angela:feed2exec(fp6)$ python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from dateparser import parse, __version__ >>> parse("Sun, 15 Feb 2015 00:00:00") datetime.datetime(2015, 2, 15, 0, 0) >>> __version__ '1.0.0' It's not clear why this is failing, therefore. The result is wrong, but I want tests to pass, so let's just get this over with.

Viewing all articles
Browse latest Browse all 40

Latest Images

Trending Articles





Latest Images