zdavatz / cpp2sqlite

C++ tool to generate sqlite database containing Swiss Healthcare Public Domain Drug Information
GNU General Public License v3.0
3 stars 1 forks source link

DHPC/HPC and Chargenrückrufe Links throw an error #180

Closed zdavatz closed 3 years ago

zdavatz commented 3 years ago
  1. Search for "DHPC"
  2. Klick an entry
  3. Klick the PDF link.
  4. The following error comes:
  5. latest-screenshot
  6. It seems that the URL is not parsed correctly. The browser shows latest-screenshot
  7. Above error happens on AmiKo-Web.
  8. On AmiKo for iOS nothing happens if you click the link.
  9. It seems that the wrong domain is taken.
  10. https://amiko.zurrose.ch/dam/swissmedic/de/dokumente/marktueberwachung/chargenrueckruf/chargenrueckruf-kadcyla-pulver.pdf.download.pdf/20201230_Kadcyla_DHPC_DE_Final_20201228.pdf
  11. should actually be
  12. https://swissmedic.ch/dam/swissmedic/de/dokumente/marktueberwachung/chargenrueckruf/chargenrueckruf-kadcyla-pulver.pdf.download.pdf/20201230_Kadcyla_DHPC_DE_Final_20201228.pdf
b123400 commented 3 years ago

This should be fixed in https://github.com/zdavatz/ts4cpp/commit/51957bcc22c3149cb52c7c00b530e632b89b7e75