这个问题怎么解决啊
>>> listurl = re.findall(r'src=.+\.jpg',buf)
Traceback (most recent call last):
File "<pyshell#18>", line 1, in <module>
listurl = re.findall(r'src=.+\.jpg',buf)
File "D:\Python\lib\re.py", line 213, in findall
return _compile(pattern, flags).findall(string)
TypeError: cannot use a string pattern on a bytes-like object