Aparat (Persian: آپارات, Âpârât) is an Iranian video sharing service (source: wikipedia [1])
- Login
- Profile
- Search
- Profile Categories
- Video
- Video Categories
- Video By User
- Comment By Video
- Video By Tag
- Upload Video
- Download Video
from aparat import Aparat
aparat = Aparat()
user = aparat.login('username', 'password')
from aparat import Aparat
aparat = Aparat()
user = aparat.login(username, password)
form = aparat.uploadForm(user.username, user.ltoken)
video = aparat.uploadPost(
form=form,
video_path='video.mp4',
title='title',
category=10,
tags=['tag1', 'tag2', 'tag3'],
allow_comment=True,
descreption='desc',
video_pass=False
)