delan / facepaste Goto Github PK
View Code? Open in Web Editor NEWFacebook album downloader
License: ISC License
Facebook album downloader
License: ISC License
The script is working on urls like this
https://www.facebook.com/media/set/?set=a.10152274350110058.924369.691130057&type=3
but not on urls like this (same album, different url)
https://www.facebook.com/meghannicK5on/media_set?set=a.10152274350110058.924369.691130057&type=3
The problem is that, the former url is what the href is for the album link, but when you click on it, it goes to the latter url.
I fixed it for now by changing line 6 of overlay.js
to this
if ( /^\/[^/]+\/media_set$|^\/media\/set\/$/.test(content.location.pathname) )
I'm sure the RegExp could be refined a little (particularly changing the [^/]+
to something more specific) but it works for now.
Here's a patched temporary version: https://www.dropbox.com/s/xklknvdc4i17ktl/facepaste-2.8-fx-fix.xpi
Especially on a user's "Photos" page, Facebook sometimes populates photo links as you scroll down. This scrolling perhaps should be automated before starting to avoid situations where not all photos are queued for download.
Hi,
version 2.9b doesn't work anymore since a couple of days....can anyone confirm?
The 2.9 version stalls out when downloading the first 8 images in an album.
I have a fix for that in version 2.9b
Download link, drag and drop on the main folder, it should override any old facepaste versions:
https://www.dropbox.com/s/dffibvvw4lc01nv/facepaste-2.9b-fx.xpi?dl=0
(Or use the 'Install Add-on From File' in the Add-ons Manager)
NOTE: If you are having trouble with the version with the options screen, try this one:
https://www.dropbox.com/s/pd1pocbme5985g3/facepaste-2.9b-nop-fx.xpi?dl=0
Facebook changed more of their code it seems.
I do not think this will fix for everyone, but it fixed mine. (en-US locale)
EDIT: Updated 12/12/2015 photos should work for more people, and videos should somewhat work.
Since we are doing this in a patchwork kind of way, Firefox will complain about it NOT being signed.
You should be ok to use it anyway.
Download link, drag and drop on the main folder, it should override any old facepaste versions:
https://github.com/DavePlater/facepaste/raw/master/facepaste-2.91-fx.xpi
(Or use the 'Install Add-on From File' in the Add-ons Manager)
Let me know how it works out for you all.
I have also forked it off into my own repo if it matters: https://github.com/DavePlater/facepaste
As title,
the box 'Download facebook albums with facepaste' came out
it not loading the album list, and the '?' to choose location box also not working.
Just a user here...Have been attempting to download albums but like watching paint dry, loading data but then freezes. Got a message one time yesterday that Facepaste doesn't work with Firefox 11. Is there an update pending? Thanks for any advice
Hi there,
Looks like the new layout for facebook pages stops facepaste from working
If cookies are accepted (which is required for Facebook to be able to log in) but third party cookies are not, the photo page requests initially receive a "Content unavailable" page, and regex matching against this page for the image URL fails.
Viewing the source of a photo page, we can see that its source is always a "Content unavailable" page at first, but reloading the source causes the correct page to be sent.
This could probably be fixed simply by requesting the photo page twice each time and using the source from the second request, obviously at the expense of speed.
Perhaps it should start labelled "Cancel", then change to "Close" when all downloads are complete.
If you want to download the photos that a user is tagged in, you can actually go to the user's "Photos" page and do so, however the album links at the top are selected by a.uiMediaThumb too, and they'll fail because they point to an album index page, not a photo page with a download link. The selector should be a.uiMediaThumb:not(.uiMediaThumbAlb) instead, to ignore the album links.
I've fixed and improved the 2.8 official version and here's the changelog:
Other than that, as far as I was able to test it, it works fully.
Download link, drag and drop on the main folder, it should override any old facepaste versions:
https://www.dropbox.com/s/wf8jfbwwd74a3i7/facepaste-2.9-fx.xpi?dl=0
Please report bugs for my fixed version of facepaste here, on this thread, not on the main forum.
Can you also include the date in the downloaded folder names YYYY-MM-DD and any text and geographical information in a text .txt file, please. Thanks!
Can you please look into the issue? I love this addon and want to use it to download the albums.
The three most recent reviews on AMO suggest that although facepaste downloads all images, the total count is too high by six, giving the impression that not all images were downloaded.
is there a way so that the options of file naming and save location can be preserved Ie i use Unique Facebook ID for file naming as its easier to merge several albums of the same subject in to one folder
Thanks
Mozilla recently announced that starting in Firefox 57, Firefox will no longer support addons that are not WebExtensions.
Is it possible to convert facepaste to be a WebExtension, so it can continue working in Firefox 57 and beyond?
Firefox add-on page :
FacePaste 2.91 is not currently working. When I have a working fix, it will go up.
And on this repository... No information at all about how to install it, if the add-on works, etc...
Any news please?
Hello,
I get the same error on any album I'm trying to download:
Preparing to download 1 albums:
(album 1) [removed]
________________________________
(album 1) creating album folder
(album 1) fetching album index
(album 1) parsing album index
(album 1) found 212 photos
(album 1) found 0 videos
(album 1 photo 1) successfully received photo page, creating photo file
(album 1 photo 1) error creating photo file: file exists
(album 1 photo 2) successfully received photo page, creating photo file
(album 1 photo 2) error creating photo file: file exists
[...]
Same for each photo. The folder I'm trying to store the photos in is empty.
Regards
Q: when all is settled and done, will you make an extension for Chrome?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.