no need to scrape Twitter profile photo from page - it's no longer there.

This commit is contained in:
Friendika 2011-09-20 18:07:33 -07:00
parent 8294dde936
commit 9115e9c90b
1 changed files with 0 additions and 14 deletions

View File

@ -249,20 +249,6 @@ function scrape_feed($url) {
return $ret;
$items = $dom->getElementsByTagName('img');
// get img elements (twitter)
if($items) {
foreach($items as $item) {
$x = $item->getAttribute('id');
if($x === 'profile-image') {
$ret['photo'] = $item->getAttribute('src');
}
}
}
$head = $dom->getElementsByTagName('base');
if($head) {
foreach($head as $head0) {