This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding:utf-8 -*- | |
# !/usr/bin/env python3 | |
''' | |
Author: ayasakinagi | |
Email: [email protected] | |
环境: Python3 | |
依赖: deluge_client | |
使用: 修改host, port, username, password, limitSize, dataPath变量 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: UTF-8 -*- | |
import requests | |
from bs4 import BeautifulSoup | |
import lxml | |
import json | |
def parse_page(url): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import qbittorrentapi | |
import psutil | |
import time | |
# host 填写你的 qBittorrent WebUI 地址, 默认本地 localhost | |
# port 填写你的 qBittorrent WebUI 端口 | |
# username 填写你的 qBittorrent WebUI 用户名 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import qbittorrentapi | |
import json | |
import requests | |
import time | |
import sys | |
# 运行过程中遇到部分种子更新失败是正常现象, 请多次运行至所有种子均已更新完成 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on DieNacht's version | |
// All credit goes to c0re100 | |
// Reference: https://gist.github.com/c0re100/3dea464145bf6abc8b1332a463fed525/raw/U2PeerLocation.user.js | |
// ==UserScript== | |
// @name U2 Show Peer location | |
// @namespace https://u2.dmhy.org | |
// @version 1.2.1-SD | |
// @description Show Peer location | |
// @author xNihilo |