This file contains hidden or 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/env python3 | |
| # IMPORTANT! install the correct package: pip3 install html-table-parser-python3 | |
| # if puzzled by "from html_table_parser import HTMLTableParser, ImportError: cannot import name 'HTMLTableParser'" | |
| # delete the dir of "python3/dist-packages/html_table_parser" manully and then reinstall, it comes from a bug of pip | |
| import re | |
| import requests | |
| import argparse | |
| # import logging | |
| from requests.adapters import HTTPAdapter |
This file contains hidden or 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
| #!/bin/sh | |
| # proxychains wrapper | |
| # Choose pre-supposed profile with -1,-2,-3 OR appoint by -n proxy(Node)_ip(hostname):port and -p proxy_protocol and -q as quiet mode | |
| # Default profile | |
| proxy_hostname=127.0.0.1 | |
| proxy_port=1080 | |
| protocol=socks5 | |
| # profile 1 | |
| proxy_hostname_1=127.0.0.1 |
This file contains hidden or 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
| #!/bin/sh | |
| ip=$(getent hosts $1 | head -n1 | cut -d " " -f1) | |
| [ -z $ip ] && ip=$1 | |
| curl -s -H 'HOST:ip.taobao.com' "http://139.224.241.114/service/getIpInfo.php?ip=$ip" | jq '.' |
OlderNewer