Skip to content

Commit

Permalink
* savefrom: updated
Browse files Browse the repository at this point in the history
No HD videos as for now :(
  • Loading branch information
l29ah committed Sep 5, 2012
1 parent 896428d commit 34db9a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions savefrom.net/savefrom

This file was deleted.

2 changes: 1 addition & 1 deletion savefrom.net/savefrom-phantom
Expand Up @@ -9,7 +9,7 @@ page.open('http://savefrom.net/', function(status) {
if (loaded == true) { if (loaded == true) {
//console.log(page.content); //console.log(page.content);
page.evaluate(function () { page.evaluate(function () {
var links = document.querySelectorAll('div[class="link_group"] > div[class="link"] > a[href*="://"]'); var links = document.querySelectorAll('div[class="link-box"] > div > div[class="link"] > a[href*="://"]');
for (var i = 0; i < links.length; ++i) { for (var i = 0; i < links.length; ++i) {
var res = links[i].querySelector('span').childNodes.item(0).nodeValue.match(/\d+/); var res = links[i].querySelector('span').childNodes.item(0).nodeValue.match(/\d+/);
if (oldres > res) break; if (oldres > res) break;
Expand Down

0 comments on commit 34db9a1

Please sign in to comment.