egbertbouman / youtube-comment-downloader

Simple script for downloading Youtube comments without using the Youtube API
MIT License
881 stars 223 forks source link

Comment timestamp parsing causes regex error #120

Closed ajskateboarder closed 6 months ago

ajskateboarder commented 1 year ago

This seems to be the erroring line:

result['time_parsed'] = dateparser.parse(result['time'].split('(')[0].strip()).timestamp()

And it results in this error:

regex._regex_core.error: bad escape \d at position 7

You could put a try except clause around it or fix it. I think YouTube changed their data structure again

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been stalled for 7 days with no activity.