octoparse-python
octoparse-python is an API wrapper for Octoparse written in Python
Installing
Usage
Client instantiation
from octoparse.client import Client
client = Client(advanced_api=True)
Get a new token
r = client.new_token('OCTOPARSE USERNAME', 'OCTOPARSE PASSWORD')
Refresh a token
r = client.refresh_token('REFRESH_TOKEN')
Set access token to client
client.set_access_token('ACCESS_TOKEN')
List all task groups
r = client.list_task_groups()
List all tasks in a group
r = client.list_group_tasks('GROUP_ID')
Get task status
TASK_LIST = ['TASK_ID1']
r = client.get_task_status(TASK_LIST)
Task status code:
0 = Running,
1 = Stopped,
2 = Completed,
3 = Waiting,
5 = Never Run
Get task parameters
Configuration parameter name (navigateAction1.Url,loopAction1.UrlList,loopAction1.TextList, etc.)
r = client.get_task_parameters('TASK_ID', 'navigateAction1.Url')
Update task parameters
Configuration parameter name (navigateAction1.Url,loopAction1.UrlList,loopAction1.TextList, etc.)
r = client.update_task_parameters('TASK_ID', 'navigateAction1.Url', 'https://url.com')
Start running task
r = client.start_task('TASK_ID')
Stop running task
r = client.stop_task('TASK_ID')
Clear data
r = client.clear_data('TASK_ID')
Export Non-exported Data
r = client.export_non_exported_data('TASK_ID', 'SIZE')
Update Data Status
r = client.update_data_status('TASK_ID')
Update Data Status
r = client.get_data_by_offset('TASK_ID', 'OFFSET', 'SIZE')
Metadata
Release files for octoparse-python 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| octoparse-python-0.1.1.tar.gz | 3.1 kB | Without provenance | Details for octoparse-python-0.1.1.tar.gz |
Release files / octoparse-python-0.1.1.tar.gz
| Download URL | octoparse-python-0.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cc88819b2ea6d55803792906b92d73be6c28c33bdfd6733a915c0e90f22019f
|
|
BLAKE2b-256 checksum How to use checksums |
85380e642b5cca2c302d16c90c51bd34b7d42de14fd0ba11e0c4abc6cef3b67e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
|
Security for octoparse-python 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.