#PythonScripts
##LinkedIn resume scraper
This script retrieves the information from a resume on LinkedIn, and creates an XML file with these information.
The format of the output file is:
<?xml version="1.0" encoding="UTF-8"?>
<resume>
<position>
<title>Your title</title>
<company>Your company</company>
<from>From date</from>
<to>To date (or Present)</to>
<location>The location of the company</location>
<description>The job description</description>
</position>
<position>
...
</position>
</resume>
The description is escaped for its HTML entities.
To install this script, you'll need (of course) to have Python installed. The modules needed to run this script are:
- cgi
- codecs
- urllib2
- requests (to install: sudo pip install requests)
- StringIO
- sys
- lxml (to install: sudo apt-get install python-lxml)
To use this script, just call it
./linkedin.py <profile_address> <output_file>