#100DaysOfCode in Python Transcripts
Chapter: Days 52-54: Parsing RSS feeds with Feedparser
Lecture: Setting up our Feedparser environment
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Okay, very quick setup for this project,
0:02
we're going to create the feedparser folder,
0:04
just like I have, and we're going to install our
0:08
virtual environment, very good practice as always.
0:12
Once it's up and running, we can launch it, venv\scripts\activate,
0:18
it because I'm a Windows junkie,
0:21
alright, now we can install feedparser,
0:27
alright, that might take a minute or two
0:29
to install, depending on your speed, and everything.
0:33
Once that's done, we will try and install requests,
0:37
and that's pretty much all we need for this project.
0:40
After that, we're going, we're actually going to use requests
0:43
to pull down the XML file,
0:45
and then use feedparser to parse the XML feed,
0:49
so install requests.
0:53
Alright, off it goes,
0:55
and we are done, now folder-wise,
0:58
inside your directory, I would like you to create
1:03
two Python files, one called parser.py,
1:07
and one called pull_xml.py.
1:10
Okay, just do that, empty files,
1:13
and we will continue in the next video.