Package: api-dog-json-v2-parser
api-dog-json-v2-parserThe parser for the saving photos from JSON dialogs that were generated withhttps://apidog.ru/Table of ContentsAboutBuilt WithGetting StartedInstallationInstallation from pipyInstallation from sourceUsageHelpUse casesLicenseThanksAboutThis is a simple lib for downloading photos from ApiDog's JSON with filtering.
I think it's the fastest and safest method to backup photos from the dialogs (mail[dot]ru can f--k themself with API and official site).How to download JSON dialogIt's really ez. Get auth onhttps://apidog.ru/. Go to the dialog that you want to save. Click on theactionandsave dialog in JSONGetting StartedYou need apython version of at least 3.6.InstallationInstallation from pipypip install api-dog-json-v2-parserInstallation from sourceClone the repogitclonehttps://github.com/benhacka/api-dog-json-v2-parser.gitGo to the downloaded folder.cdapi-dog-json-v2-parserInstallpythoninstallsetup.py--userInstall with pip (alternative)pipinstall.UsageHelpThis is got from --help.positional arguments:
  paths                 Path(s) for json scanning. Allowed . / <folder paths> Default "." - current dir

optional arguments:
  -h, --help            show this help message and exit
  -r, --recursive       Recursive walking flag. W/o the flag function is off
  -l LIMIT, --limit LIMIT
                        Download limit. Default value - 50
  -c {OWNER,OPPONENT,PAIR,ALL_EXCEPT_PAIR,ALL}, --collect {OWNER,OPPONENT,PAIR,ALL_EXCEPT_PAIR,ALL}
                        Grabbing filter. By default - ALL. owner - grab only owner photos (info from meta).
                        opponent - grab only opponent photos (info from meta). pair - grab owner and opponent
                        photos (info from meta). all_except_pair - grab all except photos of owner and
                        opponent (it is grabbing forwarding photos in fact). Can be useful if some one forward
                        "leaked" content. all - grab all photos from dialog (groups photo albums excluded).
  -n, --dont-get-names  Default: try to get real name from vk and write it into the folder name. With the flag
                        folder will be contain only id (don't send get request on the VK servers -> it's a
                        little bit faster)
  --json-name
  --wo-sub-folder
  --custom-name CUSTOM_NAME
                        Name of the future folderUse casesTypical use case: download photos from all json in the folder.cd %folder%in your terminal. It's running script with default args.api-dog-pv2Download photos from all JSON's in the folder.api-dog-pv2~/.my-dirty-secrete/stoled-mom-photosDownload only companion photos.api-dog-pv2~/.stop-using-vk/dialogs_with_Polina-cOPPONENTDownload forwarded photos.api-dog-pv2~/.my-company-dialogs/hard-party-cALL_EXCEPT_PAIRDownload all your(not stolen photos of course ;) )photos from different dialogs.api-dog-pv2~/.hack-place/stoled_Natashas_photos-cOWNER--custom-nameto_do___sort_nudeRecursive download in the semit-root folder (photos id folders will be near JSON)api-dog-pv2~/.large-folder-r--wo-sub-folderDownload w/o real name parsing (w/o request on the m.vk.com) with max thread count - 499.api-dog-pv2~/.last-case-n-l499LicenseDistributed under the MIT License. SeeLICENSEfor more information.ThanksПривет, мы - команда APIdog. Вот уже почти 8 лет (с 8 августа 2012 года) мы разрабатываем и держим этот сайт.Thanks a lot to API-DOG dev - @vladislav805, it's a really great alternative of official VK. You can support him (as me) if you like his work (as me).