nsepython 2.93__tar.gz → 2.94__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nsepython-2.93 → nsepython-2.94}/PKG-INFO +1 -1
- {nsepython-2.93 → nsepython-2.94}/nsepython/rahu.py +31 -12
- {nsepython-2.93 → nsepython-2.94}/nsepython.egg-info/PKG-INFO +1 -1
- {nsepython-2.93 → nsepython-2.94}/setup.py +1 -1
- {nsepython-2.93 → nsepython-2.94}/LICENSE +0 -0
- {nsepython-2.93 → nsepython-2.94}/README.md +0 -0
- {nsepython-2.93 → nsepython-2.94}/nsepython/__init__.py +0 -0
- {nsepython-2.93 → nsepython-2.94}/nsepython.egg-info/SOURCES.txt +0 -0
- {nsepython-2.93 → nsepython-2.94}/nsepython.egg-info/dependency_links.txt +0 -0
- {nsepython-2.93 → nsepython-2.94}/nsepython.egg-info/requires.txt +0 -0
- {nsepython-2.93 → nsepython-2.94}/nsepython.egg-info/top_level.txt +0 -0
- {nsepython-2.93 → nsepython-2.94}/setup.cfg +0 -0
|
@@ -42,19 +42,38 @@ if(mode=='local'):
|
|
|
42
42
|
return output
|
|
43
43
|
|
|
44
44
|
|
|
45
|
+
# headers = {
|
|
46
|
+
# 'Connection': 'keep-alive',
|
|
47
|
+
# 'Cache-Control': 'max-age=0',
|
|
48
|
+
# 'DNT': '1',
|
|
49
|
+
# 'Upgrade-Insecure-Requests': '1',
|
|
50
|
+
# 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36',
|
|
51
|
+
# 'Sec-Fetch-User': '?1',
|
|
52
|
+
# 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
|
|
53
|
+
# 'Sec-Fetch-Site': 'none',
|
|
54
|
+
# 'Sec-Fetch-Mode': 'navigate',
|
|
55
|
+
# 'Accept-Encoding': 'gzip, deflate, br',
|
|
56
|
+
# 'Accept-Language': 'en-US,en;q=0.9,hi;q=0.8',
|
|
57
|
+
# }
|
|
58
|
+
|
|
59
|
+
#Rahul_Mittal's entry
|
|
45
60
|
headers = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
|
|
62
|
+
"accept-language": "en-US,en;q=0.9,en-IN;q=0.8,en-GB;q=0.7",
|
|
63
|
+
"cache-control": "max-age=0",
|
|
64
|
+
"priority": "u=0, i",
|
|
65
|
+
"sec-ch-ua": '"Microsoft Edge";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',
|
|
66
|
+
"sec-ch-ua-mobile": "?0",
|
|
67
|
+
"sec-ch-ua-platform": '"Windows"',
|
|
68
|
+
"sec-fetch-dest": "document",
|
|
69
|
+
"sec-fetch-mode": "navigate",
|
|
70
|
+
"sec-fetch-site": "none",
|
|
71
|
+
"sec-fetch-user": "?1",
|
|
72
|
+
"upgrade-insecure-requests": "1",
|
|
73
|
+
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
58
77
|
|
|
59
78
|
#Curl headers
|
|
60
79
|
curl_headers = ''' -H "authority: beta.nseindia.com" -H "cache-control: max-age=0" -H "dnt: 1" -H "upgrade-insecure-requests: 1" -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" -H "sec-fetch-user: ?1" -H "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" -H "sec-fetch-site: none" -H "sec-fetch-mode: navigate" -H "accept-encoding: gzip, deflate, br" -H "accept-language: en-US,en;q=0.9,hi;q=0.8" --compressed'''
|
|
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name = 'nsepython',
|
|
8
8
|
packages=setuptools.find_packages(),
|
|
9
|
-
version = '2.
|
|
9
|
+
version = '2.94',
|
|
10
10
|
include_package_data=True,
|
|
11
11
|
description = 'Python library for NSE India APIs',
|
|
12
12
|
long_description=long_description,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|