+
Find the IPC Section Details
+
+ {% if result %}
+
+
+
{{ result.temp_now }}
-
-
- {% if result %}
-
-
-
{{ result.temp_now }}
+ {% endif %}
- {% endif %}
-
-
-
+
+
+
\ No newline at end of file
diff --git a/core/views.py b/core/views.py
index 399eb4b..8453f77 100644
--- a/core/views.py
+++ b/core/views.py
@@ -22,7 +22,7 @@ def home(request):
html_content = get_html_content(request)
from bs4 import BeautifulSoup
soup = BeautifulSoup(html_content, 'html.parser')
- print(soup)
+ # print(soup)
result = dict()
# result['name_head'] = soup.find("div", attrs={"class": "qrShPb kno-ecr-pt PZPZlf mfMhoc hNKfZe"}).text
result['temp_now'] = soup.find("div", attrs={"class": "BNeawe s3v9rd AP7Wnd"}).text
diff --git a/requiremets.txt b/requiremets.txt
deleted file mode 100644
index 1f769ce..0000000
--- a/requiremets.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-appdirs==1.4.4
-asgiref==3.3.1
-beautifulsoup4==4.9.3
-bs4==0.0.1
-cachetools==4.1.1
-certifi==2020.6.20
-chardet==3.0.4
-distlib==0.3.1
-dj-database-url==0.5.0
-Django==3.1.7
-django-heroku==0.3.1
-docutils==0.16
-filelock==3.0.12
-google-api-core==1.22.1
-google-api-python-client==1.10.1
-google-auth==1.20.1
-google-auth-httplib2==0.0.4
-googleapis-common-protos==1.52.0
-googletrans==3.0.0
-gunicorn==20.0.4
-h11==0.9.0
-h2==3.2.0
-hpack==3.0.0
-hstspreload==2020.12.22
-html5lib==1.1
-httpcore==0.9.1
-httplib2==0.18.1
-httpx==0.13.3
-hyperframe==5.2.0
-idna==2.10
-lxml==4.6.3
-MouseInfo==0.1.3
-numpy==1.20.1
-oauth2client==4.1.3
-pbr==5.5.1
-Pillow==7.2.0
-protobuf==3.13.0
-psycopg2==2.8.6
-pyasn1==0.4.8
-pyasn1-modules==0.2.8
-PyAutoGUI==0.9.52
-pycparser==2.20
-PyDrive==1.3.1
-PyGetWindow==0.0.9
-Pygments==2.6.1
-PyMsgBox==1.0.9
-pyperclip==1.8.2
-pypiwin32==223
-PyRect==0.1.4
-PyScreeze==0.1.26
-python-decouple==3.4
-pythonnet==2.5.2
-PyTweening==1.0.3
-pytz==2020.1
-pywebview==3.4
-pywin32==228
-PyYAML==5.3.1
-requests==2.24.0
-rfc3986==1.4.0
-rsa==4.6
-six==1.15.0
-sniffio==1.2.0
-soupsieve==2.2.1
-sqlparse==0.4.1
-stevedore==3.3.0
-uritemplate==3.0.1
-urllib3==1.25.10
-vidstream==0.0.10
-virtualenv==20.4.3
-virtualenv-clone==0.5.4
-webencodings==0.5.1
-whitenoise==5.2.0
diff --git a/requirments.txt b/requirments.txt
new file mode 100644
index 0000000..d9b5cde
Binary files /dev/null and b/requirments.txt differ