Skip to content

Instantly share code, notes, and snippets.

@othercat
Last active February 21, 2023 10:37
Show Gist options
  • Save othercat/5ae20d388c3dbdddd7d34c21f64dece6 to your computer and use it in GitHub Desktop.
Save othercat/5ae20d388c3dbdddd7d34c21f64dece6 to your computer and use it in GitHub Desktop.
Clash Yaml samples
proxy-groups:
- { name: AppleMusic, type: select, proxies: [DIRECT, 通用代理,香港, 台湾, 日本, 新加坡, 美国, 德国, 其他] }
- { name: AppleNews+, type: select, proxies: [DIRECT, 通用代理,香港, 台湾, 日本, 新加坡, 美国, 德国, 其他] }
- { name: AppleTV+, type: select, proxies: [DIRECT, 通用代理,香港, 台湾, 日本, 新加坡, 美国, 德国, 其他] }
rules:
# Apple Music TV
- 'DOMAIN,tv.applemusic.com,AppleMusic'
- 'DOMAIN,music.apple.com,AppleMusic'
# Apple News+
- 'DOMAIN,news-events.apple.com,AppleNews+'
- 'DOMAIN,gateway.icloud.com,AppleNews+'
- 'DOMAIN,amp-api.podcasts.apple.com,AppleNews+'
- 'DOMAIN,gspe1-ssl.ls.apple.com,AppleNews+'
- 'DOMAIN,gsas.apple.com,AppleNews+'
- 'DOMAIN,c.apple.news,AppleNews+'
- 'DOMAIN,news-assets.apple.com,AppleNews+'
# Apple TV
- 'DOMAIN,linear.tv.apple.com,AppleTV+'
- 'DOMAIN,play-edge.itunes.apple.com,AppleTV+'
- 'DOMAIN,uts-api.itunes.apple.com,AppleTV+'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment