forked from blallo/rss-bridge
[VkBridge] remove useless $request member
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
720b7924c5
commit
341ce2bf3e
1 changed files with 2 additions and 4 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
class VkBridge extends BridgeAbstract {
|
||||
|
||||
private $request;
|
||||
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "ahiles3005";
|
||||
$this->name = "VK.com";
|
||||
|
@ -21,8 +19,8 @@ class VkBridge extends BridgeAbstract {
|
|||
$param=$this->parameters[$this->queriedContext];
|
||||
$html = '';
|
||||
if (isset($param['u']['value'])) {
|
||||
$this->request = $param['u']['value'];
|
||||
$text_html = $this->getSimpleHTMLDOM(urldecode($this->request)) or $this->returnServerError('No results for this query.');
|
||||
$text_html = $this->getSimpleHTMLDOM(urldecode($param['u']['value']))
|
||||
or $this->returnServerError('No results for this query.');
|
||||
$text_html = iconv('windows-1251', 'utf-8', $text_html);
|
||||
$html = str_get_html($text_html);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue