Feed date scraper for Gemini (protocol)
Diffstat (limited to 'zachwalk.py')
| -rwxr-xr-x | zachwalk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zachwalk.py b/zachwalk.py index a270850..1a15ddc 100755 --- a/zachwalk.py +++ b/zachwalk.py @@ -34,7 +34,7 @@ def gnd(fp): if line.strip()[0:2] == '=>': try: desc =getdesc(line) - desc=desc.replace(':',' :') #quirk for parse on drew's capsule + desc=desc.split(':')[0] #this should only have 1 'datey' part date = parse(desc,fuzzy=True).date() # todo: read lots of these and compare them return date |