beeper / linkedin

LinkedIn Messaging <-> Matrix Bridge
Apache License 2.0
69 stars 14 forks source link

feat: report the error, giving the user a hint on what might be wrong #7

Closed ctron closed 1 year ago

ctron commented 1 year ago

Trying to debug #6

sumnerevans commented 1 year ago

I've actually tried this in https://github.com/beeper/linkedin/commit/ce6f79eb0d5ebadc17048904baf04922af637056, but it doesn't actually help at all (which is why I didn't merge it).

The error comes from the sumnerevans/linkedin-messaging-api, which has horrible error messages in this case because it's parsing the HTML page: See https://github.com/sumnerevans/linkedin-messaging-api/issues/1 for the tracking issue.

I assume that they added some additional page that causes this problem. It works fine for my account, but there may be some new captcha thing that they've added for some logins.

The real feature would be some manual token login functionality. I just created #8 for it.