Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit dcafb2a0 authored by MAULANA WISNU P's avatar MAULANA WISNU P
Browse files

Update utils.py, forget to put double quote.

parent 7462341a
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -55,7 +55,7 @@ def get_news_process(): ...@@ -55,7 +55,7 @@ def get_news_process():
def get_news_task(): def get_news_task():
# url = "https://scele.cs.ui.ac.id/rss/file.php/31/666b240034aa3e621eb79626d3fc2b12/mod_forum/1/rss.xml" # url = "https://scele.cs.ui.ac.id/rss/file.php/31/666b240034aa3e621eb79626d3fc2b12/mod_forum/1/rss.xml"
url = https://scele-dev.cs.ui.ac.id/rss/file.php/31/0761f8af752c222f6b8ff6894d4f1dd8/mod_forum/1/rss.xml url = "https://scele-dev.cs.ui.ac.id/rss/file.php/31/0761f8af752c222f6b8ff6894d4f1dd8/mod_forum/1/rss.xml"
# below for testing purpose, upper for realease. use below one for this branch. # below for testing purpose, upper for realease. use below one for this branch.
response = requests.get(url) response = requests.get(url)
tree = ElementTree.fromstring(response.content) tree = ElementTree.fromstring(response.content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment