Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hedcet/phantom_with_download_support


https://github.com/hedcet/phantom_with_download_support

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

working model
```
var page = require('webpage').create();

page.onFilePicker = function(oldFile) {
console.log('onFilePicker(' + oldFile + ') called');
return 'master.zip';
}

page.onDownloadFinished = function(status) {
console.log('onDownloadFinished(' + status + ')');
phantom.exit(1);
}

page.onLoadFinished = function(status) {
console.log('onLoadFinished(' + status + ')');
}

page.open('https://github.com/HedCET/TorrentAlert/archive/master.zip');
```