Commit e1396327 authored by litaolemo's avatar litaolemo

test

parent cb5c4760
...@@ -257,7 +257,6 @@ def pearvideo(releaserUrl,**kwargs): ...@@ -257,7 +257,6 @@ def pearvideo(releaserUrl,**kwargs):
def weibo(releaserUrl,**kwargs): def weibo(releaserUrl,**kwargs):
try: try:
if "/u/" in releaserUrl: if "/u/" in releaserUrl:
releaser_id = re.findall("/u/(\d+)",releaserUrl)[0] releaser_id = re.findall("/u/(\d+)",releaserUrl)[0]
elif "/p/" in releaserUrl: elif "/p/" in releaserUrl:
...@@ -271,6 +270,7 @@ def weibo(releaserUrl,**kwargs): ...@@ -271,6 +270,7 @@ def weibo(releaserUrl,**kwargs):
releaser_id = int(releaserUrl) releaser_id = int(releaserUrl)
except: except:
return None return None
print(releaser_id)
return releaser_id return releaser_id
except: except:
return None 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