Comments (3)
你好,谢谢你让我知道。你可以先试试这个网站:https://deontic.github.io/imgBB-web-bulk-downloader/
据我所知,这个网站并不下载缩略图。如果你真的希望我修复这个软件包,你可以让我知道,但这将花费你一颗星 🙂
Thanks for letting me know. You can try the site for now.
As far as I am aware the site does not download thumbnails.
from npm-imgbb-bulk-downloader.
Just tested and it does grab the incorrect and smaller image in many cases. I don't know if it does it all the time but it was easy enough to find examples. I had to go through the gallery I was on and find a SFW example for you. Filenames are also currently adding "hosted at ImgBB" to them due to using the title of the page to set the filename.
Script retrieved version: 640x907
Actual size: 1280x1814
It seems that the method to grab the url is flawed as it grabs the last one in the HTML.
The CHV.obj.image_viewer.image variable in the very last script has an escaped version of the correct url along with size information for validation. Other areas to get the correct url is as follows:
In head block:
og:image metadata info
link rel entry
In body block:
The download link which also has an isolated variable in the link for the original filename
EDIT: Interestingly the generic version @ https://github.com/deontic/chevereto-bulk-downloader works fine. It grabs the correct image but it still uses the title of the page to set the filename. I wish I could see that code to know what you did on that version differently than this one.
from npm-imgbb-bulk-downloader.
you can see it here: https://github.com/deontic/chevereto-bulk-downloader/blob/main/docs/index.html
i think i wrote that part from scratch again, honestly dont remember though
from npm-imgbb-bulk-downloader.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-imgbb-bulk-downloader.