Commit e1396327 authored by litaolemo's avatar litaolemo

test

parent cb5c4760
......@@ -257,7 +257,6 @@ def pearvideo(releaserUrl,**kwargs):
def weibo(releaserUrl,**kwargs):
try:
if "/u/" in releaserUrl:
releaser_id = re.findall("/u/(\d+)",releaserUrl)[0]
elif "/p/" in releaserUrl:
......@@ -271,6 +270,7 @@ def weibo(releaserUrl,**kwargs):
releaser_id = int(releaserUrl)
except:
return None
print(releaser_id)
return releaser_id
except:
return None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment