mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 09:35:28 +03:00
[VkBridge] Fix regex that extracts page name (#3793)
Dot should be allowed in page names. Precise rules for page names are available here: https://vk.com/faq19715 (in Russian)
This commit is contained in:
parent
a6310cff1a
commit
7a7fa876d2
1 changed files with 2 additions and 1 deletions
|
@ -29,11 +29,12 @@ class VkBridge extends BridgeAbstract
|
|||
'https://vk.com/groupname/anythingelse' => ['u' => 'groupname'],
|
||||
'https://vk.com/groupname?w=somethingelse' => ['u' => 'groupname'],
|
||||
'https://vk.com/with_underscore' => ['u' => 'with_underscore'],
|
||||
'https://vk.com/vk.cats' => ['u' => 'vk.cats'],
|
||||
];
|
||||
|
||||
protected $pageName;
|
||||
protected $tz = 0;
|
||||
private $urlRegex = '/vk\.com\/([\w]+)/';
|
||||
private $urlRegex = '/vk\.com\/([\w.]+)/';
|
||||
|
||||
public function getURI()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue