Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hedcet/phantom_with_download_support
https://github.com/hedcet/phantom_with_download_support
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/hedcet/phantom_with_download_support
- Owner: HedCET
- Created: 2015-06-04T18:08:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-31T06:19:55.000Z (about 9 years ago)
- Last Synced: 2023-03-02T06:40:50.467Z (almost 2 years ago)
- Size: 55.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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');
```