tbores / url_expander

Read Excel files containing tweets with shorted urls. Create a copy of the input file and replace the shorted url with the real ones.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

url_expander

Introduction

URL Expander has been created for supporting a friend writing his Phd. He wanted me to analyse Excel files generating with http://twitonomy.com/. Each file contains a tweet in each row at the third column. Goal of url_expander is to replace all shortened URL that can be found in a tweet with the real url. url_expander doesn't change your twitonomy excel files. Instead it creates a copy of each input file.

Usage:

The path to the folder containing the excel files is hardcoded. Default value is "./excels/". So you just have to create a folder named "excels" and to put all your twitonomy excels files in it. Then run "python url_expander.py" from the parent folder.

Dependencies

About

Read Excel files containing tweets with shorted urls. Create a copy of the input file and replace the shorted url with the real ones.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%