import re
import requests
import os
import wget



get = raw_input("please input your link::")
path = raw_input("input your package stor path::")

r = requests.get(get)
data = r.text


link_list =re.findall(r"http.+?(?<=x86_64.rpm)" ,data )


for url in link_list:
print (url)
os.chdir('/home/package')
wget.download(url)

print("download is done,package number is ",len(link_list))

相关文章:

  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2021-08-26
  • 2022-12-23
  • 2021-11-02
  • 2021-12-02
  • 2022-12-23
  • 2021-06-01
相关资源
相似解决方案