Month and Month Year (e.g. April and May 2019) will return None
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 search_dates 入口点和 PREFER_DAY_OF_MONTH 设置开始,使用报告中的示例(如 "April and May 2019")作为复现用例。完成标准是这些月份和年份字符串不再返回 None,并且至少提取出一个日期。
由索引模型根据 Issue 内容生成。
描述
I pieces of text where there are often two months concatenated by an "and" and then a year.
Like:
April and May 2019or
June and July 2018
I could not really figure out how to get at least one date out of it by using search_dates and settings 'PREFER_DAY_OF_MONTH' only works if its 'Month Year' and not 'Month and Month Year'
- 主要语言
- Python
- 星标
- 2.9k
- 派生
- 545
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 17
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scrapinghub/dateparser 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
scrapinghub/dateparser#1617 ·
维护者通常 1 天内回复
-
StaticTzInfo has localize() but not normalize(), so pytz-detecting code crashes on it可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1-3 小时 新手友好度 70/100
scrapinghub/dateparser#1591 ·
维护者通常 1 天内回复
-
Validate on Python 3.15可能已有人在做 @kishan3 于 25 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
scrapinghub/dateparser#1548 ·
维护者通常 1 天内回复
-
search_dates() raises IndexError for the zh-Hans, zh-Hant and yue locales可能已有人在做 @abhi-0203 于 88 天前认领。 未关闭search_dates Status: Bug confirmed Type: Bug
难度 2/5 1-3 小时 新手友好度 88/100
scrapinghub/dateparser#1372 ·
维护者通常 1 天内回复
-
Adopt sphinx-scrapy, with docs dependencies in a dependency group可能已有人在做 @yamilmaud 于 3 天前认领。 未关闭
难度 3/5 半天 新手友好度 25/100
scrapinghub/dateparser#1613 ·
维护者通常 1 天内回复
查看 scrapinghub/dateparser 的全部 Issue
相似的 Issue
-
intake mcp-intake needs-human-review priority:high type:bug
难度 2/5 1-3 小时 新手友好度 77/100
Ikalus1988/MisakaNet#6081 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount due可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 79/100
developmentseed/titiler-covjson#164 ·
维护者通常 1 天内回复
-
area/install bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复