Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in url_h, url_k #114

Open
aloshbennett opened this issue Apr 26, 2020 · 1 comment
Open

Bug in url_h, url_k #114

aloshbennett opened this issue Apr 26, 2020 · 1 comment

Comments

@aloshbennett
Copy link

def url_h(r); PHOTO_SOURCE_URL % [r.farm, r.server, r.id, r.secret, '_h', 'jpg'] end

url_h, url_k uses a different secret

    def url_q(r); PHOTO_SOURCE_URL % [r.farm, r.server, r.id, r.secret, '_q', 'jpg'] end
    def url_n(r); PHOTO_SOURCE_URL % [r.farm, r.server, r.id, r.secret, '_n', 'jpg'] end
    def url_c(r); PHOTO_SOURCE_URL % [r.farm, r.server, r.id, r.secret, '_c', 'jpg'] end
    # below two functions are not correct
    def url_h(r); PHOTO_SOURCE_URL % [r.farm, r.server, r.id, r.secret, '_h', 'jpg'] end
    def url_k(r); PHOTO_SOURCE_URL % [r.farm, r.server, r.id, r.secret, '_k', 'jpg'] end

Examples:
url_n -> https://farm66.staticflickr.com/65535/49760541822_e23a43870f_n.jpg
url_z -> https://farm66.staticflickr.com/65535/49760541822_e23a43870f_z.jpg
url_c -> https://farm66.staticflickr.com/65535/49760541822_e23a43870f_c.jpg
url_b -> https://farm66.staticflickr.com/65535/49760541822_e23a43870f_b.jpg
url_h -> https://farm66.staticflickr.com/65535/49760541822_3ee41fa1f7_h.jpg
url_k -> https://farm66.staticflickr.com/65535/49760541822_6663240c34_k.jpg

@cyclotron3k
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants