-
Notifications
You must be signed in to change notification settings - Fork 68
Eastmoney parse error #121
Copy link
Copy link
Open
Description
When fund makes cash dividend, the table will contain information in the 7th column, causing the regex to fail in matching the correct table and return None in Line 48 of the script.
item_re = re.compile(
r"<td>(\d{4}-\d{2}-\d{2})</td><td.*?>(.*?)</td><td.*?>(.*?)</td>"
"<td.*?>(.*?)</td><td.*?>(.*?)</td><td.*?>(.*?)</td><td.*?></td>",
re.X,
)An example can be found from this page
Fund 013465
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels