[master 747ec9f] Github Action Auto Updated
1 file changed, 546 insertions(+), 475 deletions(-)
To https://github.com/pengwoo414-web/TVbox
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/pengwoo414-web/TVbox'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Error: Process completed with exit code 1.
发现网站改dom了,加了节点
修改了一下取url的方式
def getUrlInfo(result):
"""
Get the url, date and resolution
"""
url = date = resolution = None
result_div = [div for div in result.children if div.name == "div"]
if 1 < len(result_div):
channel_text = result_div[-2].get_text(strip=True)
Python 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.