All Questions
8 questions
-2
votes
1
answer
94
views
How to turn text stored in a variable to a BeautifulSoup Object in Pyhton
for i in range(self.length):
print(colored('Title', 'green', attrs=['bold']))
print(self.url.entries[i].title)
print(colored('Link', 'green', attrs=['bold']))
print(...
0
votes
1
answer
207
views
I'm Working on the RSS Feed in the django but it gives me an Error
So guys as you read earlier i'm working on the RSS Fedd in the django. i've done all the code but when i'm enter the url for any feed it gives me and error related that saying your code giving the ...
0
votes
1
answer
809
views
Scraping Inspect Element and Dynamic Webpage using Python
I am trying to get the news content from https://www.thehindu.com/life-and-style/travel/the-embers-of-war/article29202579.ece
Actually, I look for the pattern to get the news content only.. I use the ...
0
votes
0
answers
91
views
How to implement an extracted XML code in HTML using Python?
I have to extract the rss feed of a news site and show the exact news feed in my own html page. I am able to extract the xml code from rss feed.
import feedparser
feed = feedparser.parse('http://home....
-1
votes
3
answers
69
views
Stripping content using regular expressions in python
I'm trying to solely use the re module to extract text from an rss feed. So far i've extracted the description using findall but i don't know where to go from here. So far i've written:
url = 'http://...
1
vote
1
answer
2k
views
how to parse HTML tags in RSS feed in Python
I have a small utility that is to be used to produce a readout of an RSS feed in plain text. Here is representative code:
#!/usr/bin/python
# /usr/lib/xscreensaver/phosphor -scale 3 -program 'python ...
0
votes
2
answers
338
views
Place Python Output in HTML Widget
This seems like a very simple question, so I will remove if it's a repeat. I just can't seem to find the answer.
I'm using the feedparser module to parse an RSS feed. I want to post the output to a ...
1
vote
2
answers
96
views
Identifying if a data is RSS or HTML on python
Is there a function or method I could call in Python
That would tell me if the data is RSS or HTML?