Skip to content

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

Notifications You must be signed in to change notification settings

tbores/url_expander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages