tardypad / sailfishos-daily-comics

Daily comic strips reader for SailfishOS
MIT License
12 stars 17 forks source link

Fixing SPIEGEL extraction #99

Closed Olf0 closed 4 years ago

Olf0 commented 4 years ago

SPIEGEL altered the src= tag to use a quoted URL (embedded in "), breaking the extraction. But actually this change by SPIEGEL made it easier to design a RegEx, which works reliably (i.e., robust against small and simple changes).

Olf0 commented 4 years ago

Also added to this PR:

  1. Recreated covers for "SPIEGEL - Cartoon des Tages" from the scratch:

    • Created cover_big.png (1000x1000 px²)
    • Scaled down to 300x300 px² for cover.png
    • Exported both as JPEGs (from PNG)
  2. info.json: Better matching colour value (picked from the new covers)