You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the script. It works fine for a few books, then I get the following error:
`Traceback (most recent call last):
File "/Users//pinotate-0.3/pinotate.py", line 44, in
main(args)
File "/Users//pinotate-0.3/pinotate.py", line 30, in main
worker.export_all(args)
File "/Users//pinotate-0.3/core/worker.py", line 44, in export_all
self.__export(title, args.out, args.headings, args.sort)
File "/Users//pinotate-0.3/core/worker.py", line 51, in __export
highlights = self.highlights(asset_id)
File "/Users//pinotate-0.3/core/worker.py", line 37, in highlights
return self.dispatcher.get_highlights(self.ann_db, asset_id)
File "/Users//pinotate-0.3/core/db.py", line 141, in get_highlights
chapter = int(location.split('[')[0].split('/')[2].replace(',', ''))
AttributeError: 'NoneType' object has no attribute 'split'
I’d would be happy if this could be fixed, the script seems to be the last resort to export hightlights from Apple Books.
Thank you!
The text was updated successfully, but these errors were encountered:
Thank you for the script. It works fine for a few books, then I get the following error:
`Traceback (most recent call last):
File "/Users//pinotate-0.3/pinotate.py", line 44, in
main(args)
File "/Users//pinotate-0.3/pinotate.py", line 30, in main
worker.export_all(args)
File "/Users//pinotate-0.3/core/worker.py", line 44, in export_all
self.__export(title, args.out, args.headings, args.sort)
File "/Users//pinotate-0.3/core/worker.py", line 51, in __export
highlights = self.highlights(asset_id)
File "/Users//pinotate-0.3/core/worker.py", line 37, in highlights
return self.dispatcher.get_highlights(self.ann_db, asset_id)
File "/Users//pinotate-0.3/core/db.py", line 141, in get_highlights
chapter = int(location.split('[')[0].split('/')[2].replace(',', ''))
AttributeError: 'NoneType' object has no attribute 'split'
I’d would be happy if this could be fixed, the script seems to be the last resort to export hightlights from Apple Books.
Thank you!
The text was updated successfully, but these errors were encountered: