Skip to main content

WHAT THE PROJECT DOES ?

Package flickr-mirroring-package use to batch download photos from user Flickr

WHY THE PROJECT IS USEFUL ?

  • It does not take much time instead manual download

HOW TO USE ?

  • Open Terminal
  • pip install flickr-mirroring-package

USAGE ?

Donload Photo

  • Download photos according to the specified caching strategy FIFO or LIFO

  • For example: $ ./flickr.py --username manhhai --lifo 2020-03-23 08:49:27,630 [INFO] Scanning page 1/1026... 2020-03-23 08:43:40,648 [INFO] Caching image of photo 6dbf9c52ccec1722e32161cd41d6a290... 2020-03-23 08:43:41,546 [INFO] Caching image of photo f5275b3940b714fdb083995086ca2b83... 2020-03-23 08:49:27,660 [INFO] Caching image of photo ee6557cf53ebcfdbd66c617ca9e6c75f... 2020-03-23 08:49:32,540 [INFO] Caching image of photo 0e35aa2fab6527ebc98cc7a285d2cc12... 2020-03-23 08:49:33,637 [INFO] Caching image of photo 397d6bc91f7f6642373a5323dea291fb...

$ ./flickr.py --username manhhai --fifo 2020-03-23 10:34:45,467 [INFO] Scanning page 1026/1026... 2020-03-23 10:34:45,467 [INFO] Caching image of photo ba892a4943e1c1dd07379f92068eac7e... 2020-03-23 10:34:46,821 [INFO] Caching image of photo efd816c67a2bbd8eb47559c2a98b0320... 2020-03-23 10:34:47,680 [INFO] Caching image of photo 134d76e411acef10089b17e532b7245f... 2020-03-23 10:34:48,907 [INFO] Caching image of photo a38c7c8156c8fbe309d354f750c4880d... 2020-03-23 10:34:50,100 [INFO] Caching image of photo e8ad574c0f4733fc116c6f1c9cb92035...

  • Use --info-only: Fetch info only.

    • 0: (default): The title of the photo only.
    • 1: The title and the description of the photo.
    • 2: The title, the description, and the textual content of the comments of the photo.
  • For example: $ ./flickr.py --username manhhai --save-api-keys --fifo --info-only --info-level 2 2020-03-23 12:16:30,560 [INFO] Scanning page 1026/1026... 2020-03-23 12:16:32,919 [INFO] Caching information of photo 576b89d947576c3cb6c72cbbf7e3107a...

$ ./flickr.py --username manhhai --save-api-keys --fifo --info-only --info-level 2 2020-03-23 12:16:30,560 [INFO] Scanning page 1026/1026... 2020-03-23 12:16:32,919 [INFO] Caching information of photo 576b89d947576c3cb6c72cbbf7e3107a...

$ cat ~/.flickr/manhhai/5/7/6/b/576b89d947576c3cb6c72cbbf7e3107a.json | json_pp

   "title" : {
      "content" : "Đoàn công tác SV ĐH Kiến Trúc Sài Gòn tại Côn Đảo, tháng 3-1976",
      "locale" : "vie"
   },
   "description" : {
      "locale" : "eng",
      "content" : ""
   },
   "comments" : [
      {
         "locale" : "vie",
         "content" : "Hi, Manh Hai nhung ngay ong miet mai o DHKT toi o CDSP bay gio toi dau dau voi nhung ban ve nha va co so thuong mai con ong thi sao. Co la Civil Engineer o hai ngoai?"
      },
      {
         "content" : "Dear PhamOrama:Cám ơn bạn đã hỏi thăm, tôi vẫn sống ở VN từ 1975.",
         "locale" : "vie"
      },
      {
         "content" : "Internet ngon nhieu gio cua toi, nen thu that hom nay moi re-install. Manh Hai post tam anh "so cute". Con nit ben nay khon lanh hon tuoi nho cua chung ta nhieu lam. Co ut Tami Pham cua toi moi len 7 va hoc lop 2 ma gioi nhu tuoi toi luc lop5. Chuc Ban va gia dinh mot nam moi an khang, thinh vuong.",
         "locale" : "vie"
      },
      {
         "locale" : "eng",
         "content" : "[https://www.flickr.com/photos/13476480@N07/1718051545/in/photostream/]"
      }
   ]
}

CONTACT

Metadata

Release files for flickr-mirroring-package 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flickr-mirroring-package 1.0.0
File Size Uploaded Provenance Actions
flickr-mirroring-package-1.0.0.tar.gz 11.6 kB Without provenance Details for flickr-mirroring-package-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flickr-mirroring-package 1.0.0
File Interpreter ABI Platform Actions
flickr_mirroring_package-1.0.0-py3-none-any.whl Python 3 none any Details for flickr_mirroring_package-1.0.0-py3-none-any.whl

Total release size: 22.6 kB

Release files / flickr-mirroring-package-1.0.0.tar.gz

Download URL flickr-mirroring-package-1.0.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
28d6b60f4acec8c8960eaf292eec118960e9cd86cbd1158ce8b22a3bf7d6795d
BLAKE2b-256 checksum
How to use checksums
be684203b2d83d095417827d8ce1ae51a529d334b416d80d2bd1baa875437a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / flickr_mirroring_package-1.0.0-py3-none-any.whl

Download URL flickr_mirroring_package-1.0.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2be7ccb8fab04bdba2f70c1d12baa2546c078ff3172b0ea624db7356f9d90e19
BLAKE2b-256 checksum
How to use checksums
37ae83c137fe58600a27dc2102f0885013927a0eca2ad053cf1da604482e4ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for flickr-mirroring-package 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page