mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
Adds a comprehensive host blocking system that prevents requests to specific disallowed hosts across all online streaming services. The implementation includes: - New `NotAllowedHosts` HashSet containing base64-encoded blocked hostnames - `IsNotAllowedHost()` method to validate URLs before making HTTP requests - Integration in all service classes (Anihub, AnimeON, Bamboo, CikavaIdeya, StarLight, UAKino, UaTUT, Uaflix, Unimay) - Checks applied to search, content fetching, and streaming URL resolution - Consistent implementation pattern across both Invoke and Controller classes This security enhancement prevents connections to potentially malicious or unauthorized streaming hosts while maintaining existing functionality for allowed sources.
Ukraine online source for Lampac
- AnimeON
- [RIP] AniHUB
- BambooUA
- CikavaIdeya
- StarLight
- UAKino
- UAFlix
- UATuTFun
- Unimay
Installation
-
Clone the repository:
git clone https://github.com/lampac-ukraine/lampac-ukraine.git . -
Move the modules to the correct directory:
- If Lampac is installed system-wide, move the modules to the
moduledirectory. - If Lampac is running in Docker, mount the volume:
-v /path/to/your/cloned/repo/Uaflix:/home/module/Uaflix
- If Lampac is installed system-wide, move the modules to the
Auto installation
If Lampac version 148.1 and newer
Create or update the module/repository.yaml file
- repository: https://github.com/lampame/lampac-ukraine
branch: main
modules:
- AnimeON
- Anihub
- Unimay
- CikavaIdeya
- Uaflix
- UaTUT
- Bamboo
- UAKino
- StarLight
branch - optional, default main
modules - optional, if not specified, all modules from the repository will be installed
Init support
"Uaflix": {
"enable": true,
"domain": "https://uaflix.net",
"displayname": "Uaflix",
"streamproxy": false,
"useproxy": false,
"proxy": {
"useAuth": true,
"username": "FooBAR",
"password": "Strong_password",
"list": [
"socks5://adress:port"
]
},
"displayindex": 1
}
Donate
Support the author: https://lampame.donatik.me
Description
Languages
C#
98.4%
Shell
1.6%