PyQt初见_强制更新程序
PyQt挺好用上源码瞎搞的强制更新程序,来练手(1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950import sysfrom PyQt5.QtWidgets import QApplication, QMainWindow, QPushButton,QLabel,QProgressBar,QWidgetfrom PyQt5.QtGui import QFontfrom PyQt5.QtCore import QTimerclass updatE(QMainWindow): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setGeometry(100, 100, 500, 200) self.setWindowTitle("更新") self.labe ...
爪巴虫实战
爪巴虫!实战!派森!启动!浏览器!启动!F12!启动!源码!看不懂!派恰姆!启动!以下是源码,爬旧博客的相册:
1234567891011121314import requestsimport reurl="https://old.descentdd.top/about/"response=requests.get(url=url)response=re.findall("<img src=\"(.*?)\" class=\"responsive-img\">",response.text)for i in range(len(response)): response[i]="https://old.descentdd.top/"+response[i][3:]print(response)for i in range(len(response)): req=requests.get(response[i]) with open(f"a{ ...