Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Google-News-Scraapper/app.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import requests
from xml.dom.minidom import parseString
import pandas as pd
import defusedxml.minidom


def get_google_news_result(term, count):
results = []
obj = parseString(
obj = defusedxml.minidom.parseString(
requests.get('http://news.google.com/news?q=%s&output=rss' %
term).text)
items = obj.getElementsByTagName('item')
Expand Down
2 changes: 1 addition & 1 deletion TradingView/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
author_email="d+fixtool@0x1.org",
license="MIT",
keywords="fix testing",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package is recommended by the Python community to protect against XML vulnerabilities.

License: PSF-2.0Open SourceMore facts

install_requires=["simplefix>=1.0.8"],
install_requires=["simplefix>=1.0.8", "defusedxml==0.7.1"],
package_dir={"": "python"},
packages=["fixtool"],
entry_points={
Expand Down