0
我想写一个模块上传犁但我有解析上传页面的问题。sed从html页面提取链接
我需要提取UPLOAD_URL
<script type="text/javascript">
upload_url: "http://s73.domain.com/?action=uploadfiles&user_id=TVRnN21ESX2c&secret_code=f4r6w35q639ih7oi62u674ae91453697", // Relative to the SWF file (or you can use absolute paths)
我登录后,我加载页面进行上传,然后我需要提取UPLOAD_URL
我尝试:
'upload_url:' '"\([[:digit:]]|http[:]//[^ ])*'
,但我得到此错误
sed: -e expression #1, char 60: Unmatched (or \(
感谢您的回复! Sed的代码运行良好! – Xander 2014-09-05 18:46:11