Name | idm JSON |
Version |
0.47
JSON |
| download |
home_page | https://github.com/cumulus13/pyidm |
Summary | Downloader with Internet Download Manager (Windows) |
upload_time | 2024-05-15 07:14:11 |
maintainer | cumulus13 Team |
docs_url | None |
author | Hadi Cahyadi LD |
requires_python | >=2.7 |
license | GPL |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# idm
Downloader with Internet Download Manager (Windows)
## Installing
Install and update using [pip](https://pip.pypa.io/en/stable/quickstart/):
$ pip install idm
idm supports Python 2 and newer, Python 3 and newer, and PyPy.
## Example
What does it look like? Here is an example of a simple pyidm program:
```python
from idm import IDMan
downloader = IDMan()
url = "http://test.com/test.exe"
downloader.download(url, r"c:\DOWNLOADS", output=None, referrer=None, cookie=None, postData=None, user=None, password=None, confirm=False, lflag=None, clip=False)
```
And it will open "Internet Download Manager (IDM)"
or run on terminal
```bash
$ python idm.py "http://test.com/test.exe" -p C:\DOWNLOADS -o test_output.exe
```
Example use with headers as postData and cookies:
```python
from idm import IDMan
downloader = IDMan()
url = "http://test.com/test.exe"
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3',
'Authorization': "Bearer KN9WW7k5gKgCnQLpnmWWM7LytAuSUwb9",
'Cookie': 'accountToken=KN9WW7k5gKgCnQLpnmWWM7LytAuSUwb9',
}
cookies = {
'accountToken': 'KN9WW7k5gKgCnQLpnmWWM7LytAuSUwb9'
}
downloader.download(url, r"c:\DOWNLOADS", output=None, referrer=None, cookie=cookie, postData=headers, user=None, password=None, confirm=False, lflag=None, clip=False)
```
## Support
- Python 2.7+, Python 3.x
- Windows (only), for Linux you can't use pywget (pip install pywget)
## Links
- License: [GPL](https://github.com/cumulus13/pyidm/blob/master/LICENSE.rst)
- Code: [https://github.com/cumulus13/pyidm](https://github.com/cumulus13/pyidm)
- Issue tracker: [https://github.com/cumulus13/pyidm/issues](https://github.com/cumulus13/pyidm/issues)
Raw data
{
"_id": null,
"home_page": "https://github.com/cumulus13/pyidm",
"name": "idm",
"maintainer": "cumulus13 Team",
"docs_url": null,
"requires_python": ">=2.7",
"maintainer_email": "cumulus13@gmail.com",
"keywords": null,
"author": "Hadi Cahyadi LD",
"author_email": "cumulus13@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9e/74/aef9738ea365eefd182a740598c48efbbd7e4c1b5c345f0052f4fe5196e8/idm-0.47.tar.gz",
"platform": null,
"description": "# idm\r\n\r\nDownloader with Internet Download Manager (Windows)\r\n\r\n## Installing\r\n\r\nInstall and update using [pip](https://pip.pypa.io/en/stable/quickstart/):\r\n\r\n$ pip install idm\r\n\r\nidm supports Python 2 and newer, Python 3 and newer, and PyPy.\r\n\r\n## Example\r\n\r\nWhat does it look like? Here is an example of a simple pyidm program:\r\n\r\n```python\r\nfrom idm import IDMan\r\n\r\ndownloader = IDMan()\r\nurl = \"http://test.com/test.exe\"\r\n\r\ndownloader.download(url, r\"c:\\DOWNLOADS\", output=None, referrer=None, cookie=None, postData=None, user=None, password=None, confirm=False, lflag=None, clip=False)\r\n```\r\n\r\nAnd it will open \"Internet Download Manager (IDM)\"\r\n\r\nor run on terminal\r\n\r\n```bash\r\n$ python idm.py \"http://test.com/test.exe\" -p C:\\DOWNLOADS -o test_output.exe\r\n```\r\n\r\nExample use with headers as postData and cookies:\r\n\r\n```python\r\nfrom idm import IDMan\r\n\r\ndownloader = IDMan()\r\nurl = \"http://test.com/test.exe\"\r\n\r\nheaders = {\r\n 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3', \r\n 'Authorization': \"Bearer KN9WW7k5gKgCnQLpnmWWM7LytAuSUwb9\",\r\n 'Cookie': 'accountToken=KN9WW7k5gKgCnQLpnmWWM7LytAuSUwb9',\r\n}\r\ncookies = {\r\n 'accountToken': 'KN9WW7k5gKgCnQLpnmWWM7LytAuSUwb9'\r\n}\r\n\r\ndownloader.download(url, r\"c:\\DOWNLOADS\", output=None, referrer=None, cookie=cookie, postData=headers, user=None, password=None, confirm=False, lflag=None, clip=False)\r\n```\r\n\r\n## Support\r\n\r\n- Python 2.7+, Python 3.x\r\n- Windows (only), for Linux you can't use pywget (pip install pywget)\r\n\r\n## Links\r\n\r\n- License: [GPL](https://github.com/cumulus13/pyidm/blob/master/LICENSE.rst)\r\n- Code: [https://github.com/cumulus13/pyidm](https://github.com/cumulus13/pyidm)\r\n- Issue tracker: [https://github.com/cumulus13/pyidm/issues](https://github.com/cumulus13/pyidm/issues)\r\n",
"bugtrack_url": null,
"license": "GPL",
"summary": "Downloader with Internet Download Manager (Windows)",
"version": "0.47",
"project_urls": {
"Code": "https://github.com/cumulus13/pyidm",
"Documentation": "https://github.com/cumulus13/pyidm",
"Homepage": "https://github.com/cumulus13/pyidm"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "607e7ba1ad7ddfdaa893f307c6818e5065bd3a90a2aa8588bcb619cfbd2429e4",
"md5": "1136f8a4ea37a7b8b5a373ddd0b4c9ef",
"sha256": "8b6bb2e51479b923908e744ce9d4fe190713e1de594820fdd8df48149f746b77"
},
"downloads": -1,
"filename": "idm-0.47-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "1136f8a4ea37a7b8b5a373ddd0b4c9ef",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7",
"size": 8028,
"upload_time": "2024-05-15T07:14:09",
"upload_time_iso_8601": "2024-05-15T07:14:09.364139Z",
"url": "https://files.pythonhosted.org/packages/60/7e/7ba1ad7ddfdaa893f307c6818e5065bd3a90a2aa8588bcb619cfbd2429e4/idm-0.47-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9e74aef9738ea365eefd182a740598c48efbbd7e4c1b5c345f0052f4fe5196e8",
"md5": "6c0ccbee5bd1d2877517c8a25829bfe6",
"sha256": "dbd61cef23557b41208d69ec1fbbeb1412aaf7ce257d9468bfb7b564b93ab716"
},
"downloads": -1,
"filename": "idm-0.47.tar.gz",
"has_sig": false,
"md5_digest": "6c0ccbee5bd1d2877517c8a25829bfe6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7",
"size": 5729,
"upload_time": "2024-05-15T07:14:11",
"upload_time_iso_8601": "2024-05-15T07:14:11.317648Z",
"url": "https://files.pythonhosted.org/packages/9e/74/aef9738ea365eefd182a740598c48efbbd7e4c1b5c345f0052f4fe5196e8/idm-0.47.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-15 07:14:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cumulus13",
"github_project": "pyidm",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "idm"
}