get_subscribe
✈️ 免费机场 / 免费VPN -> 自动获取免 clash/v2ray/trojan/sr/ssr 订阅链接,间隔12小时持续更新 | 科学上网 | 翻墙
Top Related Projects
Utility to convert between various subscription format
SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址
机场推荐/SSR V2ray节点订阅机场/镜像直连/工具推荐
翻墙-科学上网、自由上网、免费科学上网、免费翻墙、油管youtube、fanqiang、软件、VPN、一键翻墙浏览器,vps一键搭建翻墙服务器脚本/教程,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点,翻墙梯子,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙、科学上网、youtube视频下载、美区apple id共享账号
Quick Overview
Get_subscribe is a Python-based tool designed to automatically fetch and update subscription links for various proxy services. It supports multiple platforms and providers, making it easier for users to maintain up-to-date proxy configurations without manual intervention.
Pros
- Automates the process of fetching and updating subscription links
- Supports multiple proxy service providers and platforms
- Customizable configuration options
- Regular updates and active maintenance
Cons
- Limited documentation, which may make it challenging for new users
- Potential security risks if not used carefully with trusted sources
- Dependency on external services and their availability
- May require additional setup for some proxy providers
Code Examples
- Fetching a subscription:
from get_subscribe import GetSubscribe
gs = GetSubscribe()
subscription = gs.get_subscription('provider_name')
print(subscription)
- Updating an existing configuration:
from get_subscribe import GetSubscribe
gs = GetSubscribe()
gs.update_config('config.yaml', 'provider_name')
- Listing available providers:
from get_subscribe import GetSubscribe
gs = GetSubscribe()
providers = gs.list_providers()
print(providers)
Getting Started
-
Install the package:
pip install get_subscribe
-
Create a configuration file (e.g.,
config.yaml
) with your provider details. -
Use the tool in your Python script:
from get_subscribe import GetSubscribe gs = GetSubscribe() gs.update_config('config.yaml', 'your_provider')
-
Run your script to fetch and update subscription links automatically.
Competitor Comparisons
Utility to convert between various subscription format
Pros of subconverter
- More comprehensive and feature-rich, supporting a wider range of subscription formats and conversion options
- Actively maintained with frequent updates and improvements
- Offers a web interface for easier configuration and usage
Cons of subconverter
- More complex setup and configuration process
- Requires more system resources due to its extensive features
- Steeper learning curve for new users
Code comparison
get_subscribe:
def parse_subscribe(sub_content):
nodes = []
for line in sub_content.splitlines():
if line.startswith(('ss://', 'ssr://', 'vmess://')):
nodes.append(line)
return nodes
subconverter:
void Proxy::parse(const std::string &uri)
{
std::string prefix = getUrlArg(uri, "scheme");
if(prefix.empty())
prefix = uri.substr(0, uri.find("://"));
parser_map[prefix](*this, uri);
}
Summary
subconverter offers a more robust and feature-rich solution for subscription conversion, supporting a wider range of formats and providing a web interface. However, it comes with increased complexity and resource requirements. get_subscribe, on the other hand, provides a simpler and more lightweight approach, which may be sufficient for basic use cases but lacks the advanced features and flexibility of subconverter.
Pros of sub-web
- More active development with frequent updates and contributions
- Offers a user-friendly web interface for subscription management
- Supports multiple subscription formats and conversion between them
Cons of sub-web
- More complex setup and configuration required
- Larger codebase, potentially harder to maintain for individual users
- May have higher resource requirements due to its web-based nature
Code Comparison
get_subscribe:
def get_clash_config(url):
resp = requests.get(url)
yaml_str = resp.text
yaml_dict = yaml.safe_load(yaml_str)
return yaml_dict
sub-web:
async function getSubscription(url) {
const response = await fetch(url);
const text = await response.text();
return yaml.safeLoad(text);
}
Both projects handle subscription retrieval, but sub-web uses modern JavaScript with async/await, while get_subscribe uses Python's requests library. sub-web's approach is more suitable for web-based applications, aligning with its overall design.
get_subscribe is a simpler, Python-based tool focused on fetching and processing subscriptions. It's easier to set up and use for basic needs but lacks the advanced features and user interface of sub-web.
sub-web, on the other hand, provides a comprehensive web-based solution for managing and converting subscriptions across various formats. It offers more flexibility and features but requires more setup and resources.
SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址
Pros of ACL4SSR
- More comprehensive rule sets for various applications and services
- Regularly updated with community contributions
- Includes pre-configured lists for popular platforms like Clash and Quantumult X
Cons of ACL4SSR
- Larger and more complex, potentially overwhelming for beginners
- May include unnecessary rules for some users' needs
- Requires more frequent updates to maintain effectiveness
Code Comparison
get_subscribe:
def get_clash_config(url):
resp = requests.get(url)
if resp.status_code != 200:
return None
return yaml.safe_load(resp.text)
ACL4SSR:
payload:
- DOMAIN-SUFFIX,googleapis.cn
- DOMAIN-SUFFIX,googleapis.com
- DOMAIN-SUFFIX,google.cn
- DOMAIN-SUFFIX,google.com
The code snippets highlight the different approaches:
- get_subscribe focuses on fetching and parsing Clash configurations
- ACL4SSR provides pre-defined rule sets in YAML format
Both repositories serve different purposes in the realm of network rules and configurations. get_subscribe is more focused on obtaining and managing subscriptions, while ACL4SSR offers a comprehensive set of pre-defined rules for various scenarios and platforms.
机场推荐/SSR V2ray节点订阅机场/镜像直连/工具推荐
Pros of Share-SSR-V2ray
- Larger collection of SSR and V2Ray resources
- More frequent updates and active community contributions
- Includes additional tools and tutorials for VPN setup
Cons of Share-SSR-V2ray
- Less automated, requires manual parsing of information
- May contain outdated or non-functional links
- Lacks built-in subscription generation features
Code Comparison
get_subscribe:
def get_subscribe(url):
response = requests.get(url)
if response.status_code == 200:
return base64.b64decode(response.text).decode('utf-8')
return None
Share-SSR-V2ray:
## SSR 订阅链接
- https://raw.githubusercontent.com/ssrsub/ssr/master/ssrsub
- https://www.liesauer.net/yogurt/subscribe?ACCESS_TOKEN=DAYxR3mMaZAsaqUb
The code comparison highlights the different approaches: get_subscribe uses Python to fetch and decode subscription data programmatically, while Share-SSR-V2ray provides raw subscription links in markdown format for manual use.
翻墙-科学上网、自由上网、免费科学上网、免费翻墙、油管youtube、fanqiang、软件、VPN、一键翻墙浏览器,vps一键搭建翻墙 服务器脚本/教程,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点,翻墙梯子,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙、科学上网、youtube视频下载、美区apple id共享账号
Pros of new-pac
- More comprehensive documentation and user guides
- Wider range of proxy configurations and protocols supported
- Regularly updated with new servers and connection methods
Cons of new-pac
- Less automated setup process
- Requires more manual configuration
- May be overwhelming for beginners due to numerous options
Code Comparison
new-pac:
def get_ss_link(server, port, password, method):
ss_link = f"ss://{base64.urlsafe_b64encode(f'{method}:{password}'.encode()).decode()}@{server}:{port}"
return ss_link
get_subscribe:
def get_ss_link(server, port, password, method):
base64_str = base64.b64encode(f"{method}:{password}@{server}:{port}".encode()).decode()
return f"ss://{base64_str}"
Both repositories aim to provide access to proxy servers and VPN configurations, but they differ in their approach and target audience. new-pac offers a more comprehensive set of options and configurations, making it suitable for advanced users who require fine-tuned control over their proxy settings. On the other hand, get_subscribe focuses on simplicity and automation, making it more accessible to users who prefer a straightforward setup process.
The code comparison shows that both projects implement similar functionality for generating SS links, with slight differences in the encoding process and string formatting. new-pac uses URL-safe base64 encoding, while get_subscribe uses standard base64 encoding.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
â° å è´¹æºåº å 费梯å ç¿»å¢VPN
â ï¸ æ³¨æ
- 欢è¿æ 产é¶çº§é©å½æ士å 费使ç¨æ¬è®¢é
- é¾æ¥æ¥èªç½ç»ï¼ä» ä½å¦ä¹ 使ç¨
- 使ç¨é¡µé¢ææä¾çä»»æèµæºæ¶ï¼è¯·å¡å¿ éµå®å½å°æ³å¾
ð æ¯12å°æ¶æ´æ°ä¸æ¬¡
-
clash订é é¾æ¥ï¼
https://git.io/emzclash
-
v2ray订é é¾æ¥ï¼
https://git.io/emzv2ray
ææºç¨æ·æ æ³è®¿é®ä¸æ¹çé¾æ¥æ¶å¯ä»¥ç¨ä¸é¢çé¿é¾æ¥
-
clash订é é¾æ¥ï¼
https://raw.githubusercontent.com/ermaozi/get_subscribe/main/subscribe/clash.yml
-
v2ray订é é¾æ¥ï¼
https://raw.githubusercontent.com/ermaozi/get_subscribe/main/subscribe/v2ray.txt
ð 客æ·ç«¯ä½¿ç¨æ¹æ³
ð¸ ä»è´¹è®¢é
ææç½çä¸äºæ¯è¾ä¾¿å®çæºåºï¼ææ¶è´¹10å以ä¸ï¼ï¼è§å¾å 费订é ä¸å¥½ä½¿çæå们å¯ä»¥å¨è¿éé¢æ¾æ¾ã
https://www.ermao.net/posts/vpn
é¾æ¥ | ä»·ä½ | å¤æ³¨ |
---|---|---|
m.ssone.io | 10å 100G/æ | æ£å¸¸è®¿é® |
https://www.efcloud.bio | 9 å 350G/æ | æ£å¸¸è®¿é® |
https://www.fccloud.cc | 10 å 150G/æ | æ£å¸¸è®¿é® |
https://ss.vgsseven.com | 9.8å 60G/æ | æ£å¸¸è®¿é®, ææ¶æ æ³æ³¨å |
â æè°¢æ¯æ
Top Related Projects
Utility to convert between various subscription format
SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址