const urlStr = 'https://www.jianshu.com/aa/bb/cc' const url = new URL(urlStr) 此时可以通过url.origin 进行获取 image.png