Categories
Python

Upwork recommended jobs to OS X notifications center

If you use Upwork and you’d love to get recommended job notifications on your OS X notification center, this is for you. Grab the RSS feed of the recommended jobs from your account and place it inside the URL variable.

To run the script, we need to install some required packages first:

Then save the following code as “upwork.py”

Now you can manually run it or add it to cron job. Every time the script is executed, it would fetch all the recommended jobs for you and display in the notifications cenyer. You can afterwards click an item from the notification center to visit the actual job post.

One reply on “Upwork recommended jobs to OS X notifications center”

Need to export this if it is not included in .bash_profile

export CFLAGS=-Qunused-arguments

export CPPFLAGS=-Qunused-arguments

 

One more thing, If anyone is using Python 2.7 he has to change the line no 4

from urlparse import unquote (changed to urlib.parse in python 3)

Comments are closed.