34 lines
580 B
XML
34 lines
580 B
XML
{
|
||
"id":"download",
|
||
"widgettype":"Form",
|
||
"options":{
|
||
"title":"从网上下载媒体",
|
||
"description":"需要将网站的cookie,和响应媒体的url上传过来",
|
||
"fields":[
|
||
{
|
||
"name":"cookiepath",
|
||
"label":"网站cookie",
|
||
"uitype":"file",
|
||
"required":true
|
||
},
|
||
{
|
||
"name":"url",
|
||
"label":"媒体页url",
|
||
"uitype":"str",
|
||
"required":true
|
||
}
|
||
]
|
||
},
|
||
"binds":[
|
||
{
|
||
"wid":"self",
|
||
"event":"submit",
|
||
"actiontype":"urlwidget",
|
||
"target":"PopupWindow",
|
||
"options":{
|
||
"url":"{{entire_url('download_media.dspy')}}"
|
||
}
|
||
}
|
||
]
|
||
}
|