optilude / flickrbackup Goto Github PK
View Code? Open in Web Editor NEWFlickr incremental backup solution
Flickr incremental backup solution
~# flickrbackup.py -f 1978-01-01 -o /share/Photos/
Running backup of images updated since 1978-01-01
Traceback (most recent call last):
File "/usr/bin/flickrbackup.py", line 480, in
main()
File "/usr/bin/flickrbackup.py", line 466, in main
verbose=arguments.verbose
File "/usr/bin/flickrbackup.py", line 116, in init
self.flickr_api, self.flickr_usernsid = self.retrieve_flickr_token()
File "/usr/bin/flickrbackup.py", line 301, in retrieve_flickr_token
(token, frob) = flickr_api.get_token_part_one(perms='write')
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 749, in get_token_part_one
rsp = self.auth_getFrob(auth_token=None, format='xmlnode')
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 349, in handler
parse_format=args['format'], *_args)
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 427, in __wrap_in_parser
data = wrapped_method(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 402, in __flickr_call
flicksocket = urllib2.urlopen(url, post_data)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
I used to love this handy tool and had hoped to use it again, but on current macOS with a recent version of flickrapi I am getting the following exception when I run it:
File "/usr/local/bin/flickrbackup.py", line 301, in retrieve_flickr_token
(token, frob) = flickr_api.get_token_part_one(perms='write')
File "/Library/Python/2.7/site-packages/flickrapi/call_builder.py", line 37, in __call__
return self.flickrapi_object.do_flickr_call(self.method_name, **kwargs)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 331, in do_flickr_call
**params)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 401, in _wrap_in_parser
return parser(self, data)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 292, in parse_etree
raise FlickrError(six.u('Error: %(code)s: %(msg)s') % err.attrib, code=code)
flickrapi.exceptions.FlickrError: Error: 112: Method "flickr.get.token.part.one" not found
This seem to be a known issue: sybrenstuvel/flickrapi#69
Could flickrbackup be updated to use the suggested workaround mentioned in the issue? Thanks in advance!
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.