Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

API wrapper for Octoparse written in Python

Project description


octoparse-python is an API wrapper for Octoparse written in Python



Client instantiation
from octoparse.client import Client

client = Client(advanced_api=True)
Get a new token
Refresh a token
r = client.refresh_token('REFRESH_TOKEN')
Set access token to client
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
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', '')
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')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for octoparse-python, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size octoparse-python-0.1.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page