-
Notifications
You must be signed in to change notification settings - Fork 575
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
Low-res images for sites that use progressive enhancement? #230
Comments
This was the article I was importing, if it's helpful for testing: https://medium.com/voodoo-engineering/node-js-and-cpu-profiling-on-production-in-real-time-without-downtime-d6e62af173e2 |
Definitely two different URLs: - https://miro.medium.com/max/60/1*87KlGgfbuWP38nAaQaj3xw.png?q=20
+ https://miro.medium.com/max/1860/1*87KlGgfbuWP38nAaQaj3xw.png The former is the URL Shiori pulls; the latter is the URL in the fully-loaded Medium article, and also the URL found in the adjacent This problem is further compounded if you have attempted to Archive the page in Shiori; at present the images don't load at all: Seems like this would work fine if Shiori pulled the Right now I'm contemplating manually massaging the imported HTML in SQLite to the correct URLs, but that's obviously pretty labor intensive and not something I'd like to do routinely. However, I've also noticed the embedded code examples didn't import at all, so I might have to do that anyways, as I want to have those archived too. |
I would also love to see a fix for medium articles, as that's one of the more common sites I use |
@neezer @8bitgentleman sorry for late reply. Just want to tell you the fix for this issue has been implemented in However, it might take a while to merge it to Shiori because I also want to improve the archival method to make it better, at least to make Shiori able to archive pages from Github and its gist. |
Have you tried updating the cache and see if the new achived version has been correctly downloaded? |
I believe we have been talking about two different things here. In this issue we're talking about the content view of the article (which comes from |
I just tried adding a bookmark for a Medium article and noticed the images were imported into Shiori at an atrocious quality:
I'm guessing this is because Medium will lazy-load the higher-resolution copies with JS, but the Shiori importer doesn't wait around for that. That's my best guess anyways. Inspecting the Medium page source, I see that the images have a
noscript
tag near 'em with he full-quality version of the image... perhaps that could be useful when importing?Think this is fixable?
The text was updated successfully, but these errors were encountered: