我自己开发的应用里面使用了魔法指令,整体在我自己的电脑上运行不报错,也实现了对应的功能,但是获取到的人使用却报错了,请问是什么原因

[错误来源]
批量提取夸克分享链接中的文件名与链接 > 主流程 > 行7: 提取文本中的数据和链接
批量提取夸克分享链接中的文件名与链接 > 魔法指令 > 行25: data_matches = re.findall(data_pattern, text_content)
执行 data_matches = re.findall(data_pattern, text_content) 时出错: TypeError: expected string or bytes-like object