paperboi / kindle2notion

Export all clippings from your Kindle device to a database in Notion.
https://pypi.org/project/kindle2notion/
MIT License
904 stars 120 forks source link

For those getting 'HTTPError( requests.exceptions.HTTPError: Invalid input.)' #14

Closed lhnrd closed 3 years ago

lhnrd commented 3 years ago

Apparently notion-py has some issues with big http limits.

https://github.com/jamalex/notion-py/issues/304

A workaround for me (a noob on python) to make it work was:

  1. Run pip show notion on the terminal.
  2. Get notion package location and access its contents (e.g. /usr/local/lib/python3.9/site-packages/notion).
  3. Change store.py line 280 to "limit": 100,.
lhnrd commented 3 years ago

Thanks for this great package by the way. Works like a charm.

paperboi commented 3 years ago

Wow. Thanks for the heads up! Will keep this pinned for future reference.

ShuibCodes commented 3 years ago

this didnt work for me

aryaMode commented 2 years ago

This does not work for me.

Predo7 commented 2 years ago

this doesn't work for me

acakebro commented 2 years ago

it worked for me!

Rexus752 commented 2 years ago

Thanks, it worked!

necessaryBQ commented 1 year ago

Thanks, it worked for me!

DWJCW commented 1 year ago

It worked for me! Thank you!

0xEduardo commented 1 year ago

It worked! Thanks much

soapycattt commented 1 year ago

Thanks, it worked gracefully on my local. Anyone has any idea how to make this change on production?

Nagi-no-Asukara commented 2 days ago

thanks