[Boredom] Wallpaper stealer | HD Walleys!

by Sozin - 12-04-2015, 09:12 PM
Nan Ihier Gelair Mordor
Posts:
2,631
Joined:
Jan 2015
Likes:
293
Credits:
8,044
Reputation:
89
2 Years of Service
#1
OP
Posted: 12-04-2015, 09:12 PM
So I was bored to death and I decided to steal all the wallpapers of a website.

http://askamn.com/wallpapers.php

PRess F5 and you will get new ones.

*No noob. I did not download and upload those millions of images to my server. I just wrote a regex in php and pulled the images from there <.<
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,300
Reputation:
30
2 Years of Service
#2
Posted: 12-04-2015, 09:14 PM
(12-04-2015, 09:12 PM)AmN Wrote: So I was bored to death and I decided to steal all the wallpapers of a website.

http://askamn.com/wallpapers.php

PRess F5 and you will get new ones.

*No noob. I did not download and upload those millions of images to my server. I just wrote a regex in php and pulled the images from there <.<

In your blog I found a spanish word "Adios", do you speak spanish?
لا إله إلا الله‎
Posts:
6,326
Joined:
Jan 2015
Likes:
299
Credits:
308
Reputation:
162
2 Years of Service
#3
Posted: 12-04-2015, 09:15 PM
Gimme the script and ill give you the chocolate :3
| Monopoly- Best forever .. | v4hl - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

Tropical
12-04-2015, 09:33 PM
Nan Ihier Gelair Mordor
Posts:
2,631
Joined:
Jan 2015
Likes:
293
Credits:
8,044
Reputation:
89
2 Years of Service
#4
OP
Posted: 12-04-2015, 09:15 PM
(12-04-2015, 09:14 PM)AndresXZ09 Wrote:
(12-04-2015, 09:12 PM)AmN Wrote: So I was bored to death and I decided to steal all the wallpapers of a website.

http://askamn.com/wallpapers.php

PRess F5 and you will get new ones.

*No noob. I did not download and upload those millions of images to my server. I just wrote a regex in php and pulled the images from there <.<

In your blog I found a spanish word "Adios", do you speak spanish?

Nope. Learned from Dante.
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.
Fulltime Member
Posts:
1,127
Joined:
Apr 2015
Likes:
51
Credits:
132
Reputation:
37
2 Years of Service
#5
Posted: 12-04-2015, 09:32 PM (This post was last modified: 12-04-2015, 09:48 PM by Tropical.)
(12-04-2015, 09:12 PM)AmN Wrote: So I was bored to death and I decided to steal all the wallpapers of a website.

http://askamn.com/wallpapers.php

PRess F5 and you will get new ones.

*No noob. I did not download and upload those millions of images to my server. I just wrote a regex in php and pulled the images from there <.<

About regex, how do you write something like this where it pulls images and such?
http://bit.ly/2mbbjpP
Divine
Posts:
5,733
Joined:
Feb 2015
Likes:
701
Credits:
34,127
Reputation:
155
2 Years of Service
#6
User got warned for this post
Posted: 12-04-2015, 09:43 PM
Nice idea. Will use it in the future.
Thanks
Freak
Divine
Posts:
3,304
Joined:
Jan 2015
Likes:
226
Credits:
4,676
Reputation:
117
2 Years of Service
#7
Posted: 12-04-2015, 10:23 PM
I'm more interested that you own a website than anything else Smile
Nan Ihier Gelair Mordor
Posts:
2,631
Joined:
Jan 2015
Likes:
293
Credits:
8,044
Reputation:
89
2 Years of Service
#8
OP
Posted: 13-04-2015, 08:07 AM
(12-04-2015, 09:32 PM)Tropical Wrote:
(12-04-2015, 09:12 PM)AmN Wrote: So I was bored to death and I decided to steal all the wallpapers of a website.

http://askamn.com/wallpapers.php

PRess F5 and you will get new ones.

*No noob. I did not download and upload those millions of images to my server. I just wrote a regex in php and pulled the images from there <.<

About regex, how do you write something like this where it pulls images and such?

Google Regex.

$regex = '#(<img\ssrc="([\d]+)")#;
preg_match_all( $regex, $string, $matches );
foreach( $matches[1] AS $match )
{
echo "Src of image: {$match}";
}

above code will match all strings have an <img src="link"> type of image src in the given HTML code (here $string)
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.
Tropical
13-04-2015, 07:29 PM
Tom yum soup <3
Angels
Posts:
1,695
Joined:
Jan 2015
Likes:
77
Credits:
1,225
Reputation:
41
2 Years of Service
#9
Posted: 13-04-2015, 11:54 AM
(13-04-2015, 08:07 AM)AmN Wrote:
(12-04-2015, 09:32 PM)Tropical Wrote:
(12-04-2015, 09:12 PM)AmN Wrote: So I was bored to death and I decided to steal all the wallpapers of a website.

http://askamn.com/wallpapers.php

PRess F5 and you will get new ones.

*No noob. I did not download and upload those millions of images to my server. I just wrote a regex in php and pulled the images from there <.<

About regex, how do you write something like this where it pulls images and such?

Google Regex.

$regex = '#(<img\ssrc="([\d]+)")#;
preg_match_all( $regex, $string, $matches );
foreach( $matches[1] AS $match )
{
echo "Src of image: {$match}";
}

above code will match all strings have an <img src="link"> type of image src in the given HTML code (here $string)

Could you post a tutorial? I'm kind of noob at this ;p
Nan Ihier Gelair Mordor
Posts:
2,631
Joined:
Jan 2015
Likes:
293
Credits:
8,044
Reputation:
89
2 Years of Service
#10
OP
Posted: 13-04-2015, 01:49 PM
Yeah, soon I wil.
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)