Photobucket album downloader v0.7

pb-ripper

ATTENTION: It has come to my attention that the script does not seem to work anymore, after PB has changed the way they show mobile versions of the website. I do not have time anymore to work on this project for now, however I will see what can be done sooner or later :)

The time has come to update this little script. Since Photobucket switched from Beta design to what they use now, this script has stopped working. I am sorry for the delay, I would have posted this sooner but I too have a life ;)
Anyway, the new Photobucket design is ugly, I probably don’t need to tell you that, and they had been holding off the slideshow feature for quite some time. Recently it was implemented and I hoped my script would work without much modifications… but alas, they just had to redesign it all.
They used weird Javascript to load 12 images at a time, so needless to say it was not the way to go about doing this… I had to find another way.

After looking around I noticed that photobucket has a mobile version of the website which is accessible with a mobile user-agent. I don’t know if the design there has changed along with main website design, if not then silly me for not spotting this sooner :/ It means this script would of worked even after the update… but there is a catch with this.

Method I use now is pretty much the same as it was before, just now everything is loaded off a mobile version of the website. When you press the Slideshow button, all the information gets written to a source file and then get fed to a Flash player that shows a slideshow. Because this uses a flash player, a specific user-agent is required, one from a mobile that supports flash player… otherwise the website is smart enough to somehow tell if that phone can play flash :/

Well, even though I had found a method downloading images again, I cannot find a method downloading videos again… seems like the mobile version doesn’t load videos into the slideshow. But all the videos can be found in that image listing… and of course I could read the last page number, go through every page parsing HTML code to see if it contains a video and if it does then to read HTML code from the video page and finally download everything… but that is too much work for me right now and such method is very prone to error… maybe if someone could make it and send it to me, I’ll be more than happy to implement it into a script :)
So for now, no video downloading, sorry :(

To find the login form I used code suggested by Kyle, it worked great. Thanks Kyle! :)

Everything can be downloaded from the same location, here: PhotobucketGetter.zip

Thanks for reading, I’m waiting for feedback! :)

guest
33 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Anon
Anon
2013-08-12 11:08

Could you leave some instructions for the less savvy people such as myself?

random
random
2013-10-04 16:20

Thanks for your hard work on this. If this still works, I Would love a step by step for casual users.

random
random
2013-10-07 13:25

Thanks for your guide. I got it working and it works great. I believe this is the only working method right now. Well done!

Ven
Ven
2013-10-11 23:42

I keep getting this error after running the command with the url. Can anyone point out what I am doing wrong?

python photobucketgetter.py -u/”Photobucket AlbumURL”
[1] 4626
HackinSouls:photobucketgetter venitaufa$
* Creating “PhotobucketGetter” folder…
*** Folder exists. Skipping…
* Initiating connection to Photobucket…
Terminating with message: can’t fetch relative reference: not viewing any document

*edit never mind was typing it in wrong. lol thank you so much for this tool.

Nooby McNooberson
Nooby McNooberson
2013-10-13 21:47

N00B reporting in…

I have the same problem as Ven, but I don’t know what I am “typing in wrong”, as he didn’t elaborate on his solution.

Here’s what I’m typing… and getting that same error message. Now with more blahs! :)

photobucketgetter.py -u/”http://s1308.photobucket.com/user/blahblah/library/blahblah/blah”

Also, what would I type into the IDLE Python GUI to run this?

Thanks in advance!

Nooby McNooberson
Nooby McNooberson
2013-10-14 19:40

Thanks for getting back to me! Yep, it was the slash after the -u. So my entry should have been:

photobucketgetter.py -u ”http://s1308.photobucket.com/user/blahblah/library/blahblah/blah”

It works great! :D

This is SO cool. I look forward to checking out the rest of your blog!

-N00by.

Theone
Theone
2013-11-03 21:36

Awesome tool! thanks! Hopefully it works for me. But just a question. What if the user i would like to download photos from did not put the pictures into albums but instead threw them all in the bucket? What should i put as the parameter after http://s1228.photobucket.com/user/someusername/library/ ?

Jose
Jose
2013-11-08 17:31

This is my album’s url http://s84.photobucket.com/user/TeamClaret/library/Various%20Non-CSJG%20Pics/Porma%20Pics/Russian?sort=3&page=1

Im getting this error

* Creating “PhotobucketGetter” folder…
*** Folder exists. Skipping…
* Initiating connection to Photobucket…
Terminating with message:

pls help my album is 26 pages long

Jose
Jose
2013-11-09 00:45

Im such a noob, please bear with me, Ive downloaded everything on this page, python and photobucketgetter

i run the windows cmd.exe and work my way to the photobucketgetter folder wherein i type photobucketgetter.py -u http://s84.photobucket.com/user/TeamClaret/library/Various%20Non-CSJG%20Pics/Porma%20Pics/Russian

Im still getting this error

* Creating “PhotobucketGetter” folder…
*** Folder exists. Skipping…
* Initiating connection to Photobucket…
Terminating with message .urlopen error [Errno 11004] getaddrinfo failed.

ive even tried typing the url without the quotation marks, and i still get the same error.

can you tell me step by step how i should do it?

Jose
Jose
2013-11-09 15:20

thanks a reboot helped

TickTock
TickTock
2013-11-18 19:05

Hi Kulverstukas,

I want to say a massive thank you for making this program. It has saved me the very tedious task of having to manually download over six thousand photos.

I also wanted to post a warning for others that are having trouble downloading albums. If your URL contains a space you need to have an encoded space (%20), this isn’t a problem if you right click and copy your URLs, but if you manually type it and use “/New Album” instead of “/New%20Album” you will get an error.

Drew
Drew
2013-11-21 17:04

I’m getting the following output when I run the script:

File “photobucketgetter.py”, line 34
print “* Found “str(len(nodeList))+” images…”
^
SyntaxError: invalid syntax

Any suggestions would be much appreciated. Thanks!

TickTock
TickTock
2013-11-28 03:53

I’m now getting the following error:

“*** Something went wrong grabbing picture data. Terminating…”

When attempting download from any account :(.

TickTock
TickTock
2013-11-28 22:51

lol Damn. I was getting ready to download my second gallery. Over one thousand photos :(.

The mobile version is still there, it has just changed. As you know going to “m.photobuct.com” takes you back to the main page, however, if you then go to a persons photobucket gallery it loads as the mobile version. The full site and the loaded mobile version both have the same front end URL.

I noticed a couple of cookies from photobucket with the word mobile. After deleting the “pb_mobile” cookie and reloading the mobile gallery I was in, I get taken to the full version. Deleting all the other cookies doesn’t change the sites mode.

TickTock
TickTock
2013-12-02 19:29

I will, thank you. :)

Hokidoki
Hokidoki
2014-01-13 23:13

Hi, I tried using the script and i’m getting a “terminating with message: can’t fetch relative reference: not viewing any document”

Do you happen to have a solution for this?

the URL: s297.photobucket.com/user/bowen_shade/library

Let me know if you have any thoughts..

Sing
2014-03-28 09:53

Hi Kulverstukas,

This Photobucket album downloader is made by myself.
https://chrome.google.com/webstore/detail/photobucket-album-downloa/jmpbbfglflhdhbmimlcacoojpkeopelc

Maybe you are interested on it :)

Moes
Moes
2014-03-28 22:07

@Sing
No we don’t like to pay money for free photobucket downloader :-(!!!

Johndoe
Johndoe
2014-04-25 02:47

Does the extension even work? Can you download private?