Joost Plattel

Data Strategist.

Mobypicture Export

| 2 Comments

I love Mobypicture. It’s the service I use to post my pictures onto Twitter, Flickr and Facebook. It makes uploading photos from my mobile phone as simple as it could possibly be. Even better, the service is free to use, unlike Flickr which only allows access to last 200 images if you go with their freemium model. But sadly using Mobypicture isn’t without downsides. There is no export functionality as of yet.

So I decided to roll my own with Python and BeautifulSoup. And behold, within an hour I had a fully functional script exporting all my pictures from my old account. The code isn’t the prettiest or the quickest, but is does it job fairly well. If you are looking to export all pictures from your Mobypicture account, you can use my script. It does require you to have python installed with the BeautifulSoup module.

You can download the script, navigate to it with the terminal and simply run the script as:

python scraper.py put_your_username_here

I’ve also made a gist from the script, so you can check the code! If something goes wrong, let me know in the comments. It could be Mobypicture that changed the layout so the parser doesn’t work anymore..

[edit: Due to the relative time that mobypicture the first filenames don't appear correct, but the export works]

[edit: Here's an updated script that works with their API: https://gist.github.com/jplattel/8181849]

  • http://www.mobypicture.com Timan Rebel

    Hi Joost,

    It’s always nice to see people come up with new implementations for Mobypicture! Thanks for that, first of all.

    I see you’ve written the export as a scraper on mobypicture.com, but there are easier and better ways to build this. By using our API and the getUserMedia action, you can request all of a users photos, videos and audio. See http://developers.mobypicture.com/documentation/1-0/getusermedia/ for more info.

    If you need any help, just write us a mail on support -at- mobypicture!

    • Joost Plattel

      Hi Timan,

      Thanks! I just build the scraper to get the job done instead of looking into the API. But by the looks of it, the API provides much more data, so i’ll have to check it out!