Skip to content
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

Open
fenuks opened this issue Jan 12, 2014 · 5 comments
Open

Wallpaper URL from thumbnail src #12

fenuks opened this issue Jan 12, 2014 · 5 comments

Comments

@fenuks
Copy link

fenuks commented Jan 12, 2014

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 this http://wallpapers.wallbase.cc/{board}/wallpaper-{id}.jpg. So in this example final URL will be http://wallpapers.wallbase.cc/rozne/wallpaper-2791268.jpg.

@macearl
Copy link
Collaborator

macearl commented Jan 14, 2014

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.

@nomi00001
Copy link

Really Great macearl,
cant wait for the new script really amazing work you have and did u take a look at this site
wallarc(dot)com

@macearl
Copy link
Collaborator

macearl commented Jan 25, 2014

take a look at issue #11

@SirHellsing
Copy link

Wallhaven is now in alpha:
http://alpha.wallhaven.cc/

First impression is very good in my opinion :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@fenuks @macearl @SirHellsing @nomi00001 and others