- Home /
This question was
closed Jun 28, 2014 at 07:09 PM by
tanoshimi for the following reason:
Duplicate Question
Question by
MrReynevan2 · Jun 28, 2014 at 04:32 PM ·
wwwparsing
Downloading all images from certain URL v2.0
Welcome again, sweet community.
So, is it possible? Can I parse HTML page through Unity, or do I need to use this code and MySQL to catch the results?
$dom = new domDocument;
$dom->loadHTML($html);
$dom->preserveWhiteSpace = false;
$images = $dom->getElementsByTagName('img');
foreach ($images as $image) {
echo $image->getAttribute('src');
}
And no, I don't need stupid answers not related with the topic, so please stop telling me "There is no html way to do this". Pretty thanks.
Comment
I already found the answer cause I get bored of waiting for approval of the question. Thanks anyway.
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Downloading all images from given URL 1 Answer
How can I load pre-compressed textures at run-time (without using assetBundles) 3 Answers
Handle HTML response 0 Answers
print out the value (string) of the URL passed to the WWW in the google console 0 Answers