2010-09-13, 17:33
Code:
url=re.compile('url="(.+?)" fileSize=".+?" type="video/mp4" medium="video" bitrate="1000" framerate="29.97" samplingrate="48" channels="1" duration=".+?" width="864" height="480" mediafly:profile="H264b_864x480_1000" />\n').findall(link)
this code surely return an item (list) not a string, so error is raised because you MUST pass a string variable to addDir()