# Daten von z. B. Amazon importieren, wie ISBN usw. (Eine erweiterte Onebox-Lösung für Amazon)

**URL:** <https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565>\
**Category:** Feature\
**Tags:** pr-welcome\
**Created:** [1. Februar 2018 um 19:28 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565 "2018-02-01T19:28:05Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)\
**Post date:** [14. Februar 2018 um 17:35 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/16 "2018-02-14T17:35:08Z")

</div>

Quick thought but it strikes me it could be okay as long as this works in _most_ cases, and also okay for any given book if the data is incomplete as long as it captures the most important stuff.

It seems like it’s not always the same data included, but (almost always?) in the same order / same text in the `<b>` tag in the `<li>`, so w/ perhaps string search + a few judicious if statements could get it to _good enough_.

So for example could look at `#productDetailsTable` and get whichever of these are present, and ignore if not found:

- if (paperback || hardcover) then show page length, else [digital edition]
- publisher
- pub date
- language
- if (paperback || hardcover) then ISBN #s else ASIN
- avg. customer review

Not sure how much trickier differences w/ international versions of Amazon make this, but even if it worked just for USA/UK for example and got data for 95% of books it could be useful.

---

_[View the full topic](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565)._
