Skip to content

Instantly share code, notes, and snippets.

@ispyhumanfly
Last active November 19, 2017 05:32
Show Gist options
  • Save ispyhumanfly/cfc5f2bc0859c35255e0a4a50fd82e78 to your computer and use it in GitHub Desktop.
Save ispyhumanfly/cfc5f2bc0859c35255e0a4a50fd82e78 to your computer and use it in GitHub Desktop.
#!/usr/bin/env php
<?php
require './simple_html_dom.php';
$html = file_get_html('https://www.bleulibellule.com/');
/* Links */
foreach($html->find('a') as $link) {
echo "$link->title\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment