mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-09 20:25:14 +02:00
Fixed empty supported website
This commit is contained in:
parent
fbb9a1d67b
commit
1e7b9b3d8d
@ -27,9 +27,7 @@ Supported streaming providers (for a complete list of all supported websites, se
|
||||
<li><a href="https://vivo.st">vivo.st</a></li>
|
||||
<li><a href="https://vivo.sx">vivo.sx</a></li>
|
||||
<li><a href="https://voe.sx">voe.sx</a></li>
|
||||
<li><a href="https://vupload.com">vupload.com</a></li>
|
||||
<li><a href="https://"></a></li>
|
||||
</ul>
|
||||
<li><a href="https://vupload.com">vupload.com</a></li></ul>
|
||||
</details>
|
||||
|
||||
---
|
||||
|
3
build.py
3
build.py
@ -69,7 +69,8 @@ def write_readme():
|
||||
|
||||
# adds all available websites
|
||||
all_providers_regex = r'(?<=<ul>\n)(.+?)(?=</ul>)'
|
||||
all_providers = '\n'.join(f'\t\t<li><a href="https://{provider}">{provider}</a></li>' for provider in open('SUPPORTED', 'r').read().split('\n')) + '\n\t'
|
||||
domains = filter(lambda domain: domain != '', open('SUPPORTED', 'r').read().split('\n'))
|
||||
all_providers = '\n'.join(f'\t\t<li><a href="https://{supported}">{supported}</a></li>' for supported in domains)
|
||||
readme = re.sub(all_providers_regex, all_providers, readme, flags=re.DOTALL)
|
||||
|
||||
# adds all installed browsers to the tested browser section. i'm just to lazy to seek out all browser versions manually
|
||||
|
Loading…
x
Reference in New Issue
Block a user