Skip to content

Instantly share code, notes, and snippets.

@ishukshin
Last active September 27, 2016 21:56
Show Gist options
  • Save ishukshin/5df975a7e6e6308a52572e80c77d5cf4 to your computer and use it in GitHub Desktop.
Save ishukshin/5df975a7e6e6308a52572e80c77d5cf4 to your computer and use it in GitHub Desktop.
<?php
public function setSaratov() {
$this->region = 'saratov';
$this->links = [
'http://www.saratov.vybory.izbirkom.ru/region/region/saratov?action=show&tvd=100100067796072&vrn=100100067795849&region=64&global=true&sub_region=64&prver=0&pronetvd=0&vibid=26420001135285&type=233',
'http://www.saratov.vybory.izbirkom.ru/region/saratov?action=show&global=true&root=642000026&tvd=26420001135271&vrn=100100067795849&prver=0&pronetvd=0&region=64&sub_region=64&type=233&vibid=26420001135271',
'http://www.saratov.vybory.izbirkom.ru/region/region/saratov?action=show&tvd=100100067796069&vrn=100100067795849&region=64&global=true&sub_region=64&prver=0&pronetvd=0&vibid=26420001135250&type=233',
'http://www.saratov.vybory.izbirkom.ru/region/region/saratov?action=show&tvd=100100067796069&vrn=100100067795849&region=64&global=true&sub_region=64&prver=0&pronetvd=0&vibid=26420001135249&type=233',
'http://www.saratov.vybory.izbirkom.ru/region/region/saratov?action=show&tvd=100100067796069&vrn=100100067795849&region=64&global=true&sub_region=64&prver=0&pronetvd=0&vibid=26420001135248&type=233',
];
$this->tryFrom = 50;
$this->tryTo = 80;
}
public function setDagestan() {
$this->region = 'dagestan';
$this->links = [
'http://www.dagestan.vybory.izbirkom.ru/region/dagestan?action=show&global=true&root=52000016&tvd=2052000895891&vrn=100100067795849&prver=0&pronetvd=0&region=5&sub_region=5&type=233&vibid=2052000895891',
'http://www.dagestan.vybory.izbirkom.ru/region/dagestan?action=show&global=true&root=52000015&tvd=2052000895890&vrn=100100067795849&prver=0&pronetvd=0&region=5&sub_region=5&type=233&vibid=2052000895890',
];
$this->tryFrom = 50;
$this->tryTo = 100;
}
public function setSmolensk() {
$this->region = 'smolensk';
$this->tryFrom = 0;
$this->tryTo = 100;
$this->links = [
'http://www.smolensk.vybory.izbirkom.ru/region/region/smolensk?action=show&root=672000007&tvd=2672000788059&vrn=100100067795849&region=67&global=true&sub_region=67&prver=0&pronetvd=0&vibid=2672000788059&type=233',
'http://www.smolensk.vybory.izbirkom.ru/region/region/smolensk?action=show&root=672000008&tvd=2672000788060&vrn=100100067795849&region=67&global=true&sub_region=67&prver=0&pronetvd=0&vibid=2672000788060&type=233',
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment