We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 857f549 + 6658431 commit f05c870Copy full SHA for f05c870
scrapy_splash/request.py
@@ -1,5 +1,6 @@
1
# -*- coding: utf-8 -*-
2
from __future__ import absolute_import
3
+import copy
4
import scrapy
5
from scrapy.http import FormRequest
6
@@ -40,7 +41,7 @@ def __init__(self,
40
41
url = 'about:blank'
42
url = to_native_str(url)
43
- meta = meta or {}
44
+ meta = copy.deepcopy(meta) or {}
45
splash_meta = meta.setdefault('splash', {})
46
splash_meta.setdefault('endpoint', endpoint)
47
splash_meta.setdefault('slot_policy', slot_policy)
0 commit comments