6 lines
No EOL
256 B
Python
6 lines
No EOL
256 B
Python
from urllib.request import Request as UrllibRequest
|
|
|
|
class Request(UrllibRequest):
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, **kwargs)
|
|
self.headers["user-agent"] = "romeotools (https://kumig.it/kumitterer/romeotools)" |