Files
crawlab/spiders/discogs_aio_spider/testdic.py
2019-04-03 16:32:35 +08:00

14 lines
264 B
Python

# -*- coding: utf-8 -*-
# @Time : 2019/3/22 10:02 PM
# @Author : cxa
# @File : testdic.py
# @Software: PyCharm
from copy import deepcopy
img_url="http:"
try:
a=img_url.split("/")[-1]
print(a)
a.replace(".jpeg","")
except Exception as e:
print(e.args)