Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: metadata information from pdf #37

Merged
merged 5 commits into from
Oct 18, 2022
Merged

feature: metadata information from pdf #37

merged 5 commits into from
Oct 18, 2022

Conversation

codeperfectplus
Copy link
Member

Changelog

Instead of only the page number, the convertor function will return metadata. which will have all the information about the file.

example:-

  • Author
  • Producer
  • Subject
  • Title
  • Pages
  • filename

Signed-off-by: Deepak Raj <54245038+codePerfectPlus@users.noreply.github.com>
Signed-off-by: Deepak Raj <54245038+codePerfectPlus@users.noreply.github.com>
Comment on lines 81 to 82
elif metadata.endswith(".mobi"):
json_book, metadata = mobi_to_json(input_book_path)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type input_book_path.endswith

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤣🤣 coffee overloaded, fixed

Signed-off-by: Deepak Raj <54245038+codePerfectPlus@users.noreply.github.com>
@DrakeEntity DrakeEntity merged commit f4a06d8 into Py-Contributors:dev Oct 18, 2022
@codeperfectplus codeperfectplus deleted the pdf_patch branch October 18, 2022 13:51
Copy link
Contributor

@Mr-vabs Mr-vabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants