Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1 KB

README.md

File metadata and controls

39 lines (30 loc) · 1 KB

VkUtilities

Ruby script utilities for https://vk.com social network.

Scripts must be launched manually at your terminal.

  • PhotoSearch - search photos in albums by author id.
  • PhotoReorder - sort photos by upload date.
  • SearchByDate - returns photos uploaded in a specified date.

PhotoSearch

Can search photos in specified album or albums.

Usage:

$ ruby PhotoSearch.rb <autor_id> <owner_id> <album_id>

or

$ ruby PhotoSearch.rb <autor_id> <owner_id> {album_id,albom_id...}

Search results will be shown in Search result <autor_id>.txt file.

SearchByDate

Searching specified album and returns links to photos uploaded in a specified date

Usage:

$ ruby SearchByDate.rb <owner_id> <dd.mm.yyyy> <album_id>

PhotoReorder

Requesting vk to reorder photos in specified album.

Note: you need to manually receive access token by any possible authorization methods. Then manually insert it in to the code.

Usage:

$ ruby PhotoReorder.rb <owner_id> <album_id> <asc or des>