Flickr-url-parser

Latest version: v1.10.0

Safety actively analyzes 688619 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.10.0

* Add a new method `looks_like_flickr_photo_id` which tells you if a particular string looks like a Flickr photo ID, or not.
* Rename `is_flickr_user_id` to `looks_like_flickr_user_id` to clarify that this function is a quick heuristic, and not a guarantee that a user ID exists.

1.9.0

* When parsing a URL which points to a single photo, return the `user_url` and `user_id` (if they can be deduced from the URL).

1.8.3

* Add a trailing slash to the `user_url` returned in album URLs. This more closely matches the URL structured used on Flickr.com.

1.8.2

* Throw a more informative TypeError if you pass a non-string value as ``url``.

1.8.1

* Add support for recognising video download URLs like `/video_download.gne?id=[ID]`.
* Add support for recognising static video URLs like `https://live.staticflickr.com/video/…`.
* Add support for recognising Flash player video URLs like `https://www.flickr.com/apps/video/stewart.swf?photo_id=…`.

1.8.0

* Add an optional `id` parameter to the `User` type.

If you parse the URL for a user's photostream and use the URL that contains their NSID rather than their path alias, this ID will be included in the response.
This allows for slightly faster lookups later.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.