Convert Figma logo to code with AI

ermaozi logoget_subscribe

✈️ 免费机场 / 免费VPN -> 自动获取免 clash/v2ray/trojan/sr/ssr 订阅链接,间隔12小时持续更新 | 科学上网 | 翻墙

6,653
580
6,653
8

Top Related Projects

Utility to convert between various subscription format

5,003

3,266

SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址

机场推荐/SSR V2ray节点订阅机场/镜像直连/工具推荐

54,240

翻墙-科学上网、自由上网、免费科学上网、免费翻墙、油管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

  1. Fetching a subscription:
from get_subscribe import GetSubscribe

gs = GetSubscribe()
subscription = gs.get_subscription('provider_name')
print(subscription)
  1. Updating an existing configuration:
from get_subscribe import GetSubscribe

gs = GetSubscribe()
gs.update_config('config.yaml', 'provider_name')
  1. Listing available providers:
from get_subscribe import GetSubscribe

gs = GetSubscribe()
providers = gs.list_providers()
print(providers)

Getting Started

  1. Install the package:

    pip install get_subscribe
    
  2. Create a configuration file (e.g., config.yaml) with your provider details.

  3. Use the tool in your Python script:

    from get_subscribe import GetSubscribe
    
    gs = GetSubscribe()
    gs.update_config('config.yaml', 'your_provider')
    
  4. 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.

5,003

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.

3,266

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.

54,240

翻墙-科学上网、自由上网、免费科学上网、免费翻墙、油管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 Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

⏰ 免费机场 免费梯子 翻墙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.io10元 100G/月正常访问
https://www.efcloud.bio9 元 350G/月正常访问
https://www.fccloud.cc10 元 150G/月正常访问
https://ss.vgsseven.com9.8元 60G/月正常访问, 暂时无法注册

⭐ 感谢支持

操,图挂了……