about summary refs log tree commit diff
path: root/gn/packages/patches/python-twint-token.patch
diff options
context:
space:
mode:
authorpjotrp2026-03-22 13:39:41 +0100
committerpjotrp2026-03-22 13:39:41 +0100
commit9501b18f31285554b80db89473d6846692284396 (patch)
tree21eedd25533b28930eaec86166ec67283cdaddd3 /gn/packages/patches/python-twint-token.patch
parent039e3091ac0866d35aa08015c0fc71778599b8d4 (diff)
downloadguix-bioinformatics-9501b18f31285554b80db89473d6846692284396.tar.gz
move patches
Diffstat (limited to 'gn/packages/patches/python-twint-token.patch')
-rw-r--r--gn/packages/patches/python-twint-token.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gn/packages/patches/python-twint-token.patch b/gn/packages/patches/python-twint-token.patch
new file mode 100644
index 0000000..570ca8b
--- /dev/null
+++ b/gn/packages/patches/python-twint-token.patch
@@ -0,0 +1,11 @@
+diff --git a/twint/token.py b/twint/token.py
+index 0eeb0dc..63b637a 100644
+--- a/twint/token.py
++++ b/twint/token.py
+@@ -20,0 +21,6 @@ class Token:
++        self._session.headers.update(
++            {'User-Agent':
++             ('Mozilla/5.0 '
++              '(Windows NT 10.0;'
++              ' Win64; x64; rv:78.0)'
++              ' Gecko/20100101 Firefox/78.0')})