-
Notifications
You must be signed in to change notification settings - Fork 12
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
Wallpaper URL from thumbnail src #12
Comments
Thanks for the hint, but given the fact that wallbase is almost dead and that the rename function would not work anymore (it gets the tags from the page with the embedded big version) im not gonna change the script. right now im waiting how things develop with wallhaven and wall-gig and then im going to rewrite the script to work with one of them. wallhaven does not work yet and wallgig only has around 42k wallpapers. |
Really Great macearl, |
take a look at issue #11 |
Wallhaven is now in alpha: First impression is very good in my opinion :) |
Hi,
there is no need to download page with embedded big version of wallpaper in order to get its URL. It can be extracted from thumbnail src.
E. g.
<img class="file" src="http://origthumbs.wallbase.cc//rozne/thumb-2791268.jpg" style="width: 250px; height: 140px;"></img>
. From src you can see that image id is 2791268 and it is from WG board (WG board has 'rozne' in url, W has 'manga-anime' and HR has 'high-resolution'). URL template looks like thishttp://wallpapers.wallbase.cc/{board}/wallpaper-{id}.jpg
. So in this example final URL will be http://wallpapers.wallbase.cc/rozne/wallpaper-2791268.jpg.The text was updated successfully, but these errors were encountered: