url="http://test.plus.1course.cn/Task/Display?id=25942" print(url) result=url.split('/')[-2] print(result)
url="http://test.plus.1course.cn/Task/Display?id=25942" print(url) result=url.split('/')[-2] print(result)
转载于:https://www.cnblogs.com/dieyaxianju/p/7159138.html