Dag
9973f731df
feat: introduce RateLimitException ( #4199 )
2024-08-08 02:13:04 +02:00
Dag
891c8979a3
refactor: return proper response object ( #4169 )
2024-07-31 17:30:06 +02:00
Dag
f01729c86f
fix(arstechnica): plus a few unrelated tweaks ( #3829 )
2023-12-13 21:40:13 +01:00
Eugene Molotov
f3df283c4d
[VkBridge] Fix single photo duplication ( #3816 )
2023-12-03 18:54:23 +01:00
wpdevelopment11
7a7fa876d2
[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)
2023-11-08 16:40:24 +01:00
Dag
920d00480d
fix(senscritique) ( #3750 )
2023-10-13 11:24:22 +02:00
Eugene Molotov
7e183915a9
[VkBridge] Fix missing feed title ( #3737 )
2023-10-11 18:28:54 +02:00
Eugene Molotov
145bd10f4c
[VkBridge] Revert more universal regex for title generation ( #3736 )
...
In practice it lead to feed items to have "untitled".
Using previous regex with more covered cases.
Credits to https://t.me/votkot as author of regex
2023-10-11 18:16:57 +02:00
Eugene Molotov
959dd937b4
[VkBridge] Using more universal regular expression to generate item title ( #3627 )
2023-08-21 04:53:54 +02:00
Dag
8b6eecea25
docs: add note about expensive operation ( #3579 )
2023-07-31 20:43:11 +02:00
Dag
701fe3cfed
fix: various small fixes ( #3578 )
2023-07-29 00:14:30 +02:00
Eugene Molotov
38ca124de0
[VkBridge] Better title generation ( #3563 )
...
1. Use first parargraph only
2. Remove tags
3. Allow to use comma and colon in title
2023-07-22 14:00:12 +02:00
Eugene Molotov
80376830c5
[VkBridge] Handle some secondary attachments ( #3430 )
2023-06-10 18:27:32 +02:00
Eugene Molotov
7c4591c550
[VkBridge] Add detectParameters ( #3351 )
2023-04-18 18:41:11 +02:00
Eugene Molotov
c8af9f9055
[VkBridge] Make timestamps more accurate ( #3325 )
2023-03-22 20:32:15 +01:00
Eugene Molotov
91f91ba621
[VkBridge] Follow site changes ( #3244 )
2023-02-07 15:10:43 +01:00
Eugene Molotov
eab82f0a26
[VkBridge] Add video thumbnails ( #3206 )
2023-01-03 19:26:05 +01:00
Eugene Molotov
fdf380bccd
[VkBridge] Remove junky 'Show more' button ( #3176 )
2022-12-03 04:58:25 +01:00
Eugene Molotov
2db523a37a
[VkBridge] Handle empty posts before fixing image links ( #3052 )
2022-09-20 18:07:57 +02:00
Eugene Molotov
6cd8b90d28
[VkBridge] Follow changes on HTTP redirection ( #3051 )
...
When visiting canonical link like https://vk.com/club1 ,
VK returns redirection response to non-canical link,
which raises "Unexpected redirect location" exception.
This patch removes path check in order to handle this situation
2022-09-20 18:07:31 +02:00
Eugene Molotov
a12152e8a5
[VkBridge] Code cleanup ( #3047 )
...
- Remove .page_album_link patch, since VK already patched its renderer
- Remove non working code, that tries to get clean video links
2022-09-19 19:22:41 +02:00
Eugene Molotov
11220ef373
[VkBridge] Photo fixes ( #3039 )
...
This commit fixes following issues:
- Photos from user profile wall started appearing as blured
- On posts with photo collection small thumbnails are shown
2022-09-15 22:17:10 +02:00
Eugene Molotov
70ba6c5b53
[VkBridge] Manually handle redirects ( #3017 )
...
Some redirects are legit, some redirects lead to "Too many requests" page
2022-09-07 03:02:23 +02:00
Eugene Molotov
8033a5f461
[VkBridge] Fix photo URI retrieving ( #3010 )
...
VK stopped filling JSON structure containing information for generating URI to full size photo
2022-09-05 23:41:41 +02:00
Dag
4f75591060
Reformat codebase v4 ( #2872 )
...
Reformat code base to PSR12
Co-authored-by: rssbridge <noreply@github.com>
2022-07-01 15:10:30 +02:00
dag
bed20e9f28
feat: extract curl ua to config value ( #2568 )
...
* exclude config.default.ini.php from phpcs
2022-04-03 09:37:39 +02:00
Bocki
1a8d0babd1
[Multiple] Fix all exampleValues and required variables ( #2296 )
2022-03-24 11:59:34 +01:00
Eugene Molotov
37cb4091d4
bridges: remove redundant "or returnServerError" after getContents/getSimpleHTMLDom/getSimpleHTMLDomCached ( #2398 )
...
When fetching website contents, exceptions already raise on fetching error
2022-01-02 14:36:09 +05:00
Eugene Molotov
9254d14f50
[VkBridge] Multiple fixes:
...
- Correct video title
- Do not add repost of deleted post to feed
2021-10-25 10:16:24 +05:00
Eugene Molotov
98352845a1
[VkBridge] Remove non ascii chars from post date to correctly parse it ( #1977 )
2021-02-10 18:11:48 +05:00
Eugene Molotov
59bbc9d2e7
[VkBridge] Several improvements ( #1802 )
...
* Improved post author computation
* Show repost sources
* Handle second copy quote
* Fixed incorrect image uri's
2020-12-18 07:58:51 +05:00
Eugene Molotov
7709b8d662
[VkBridge] Correct fallback behavior, when trying to get direct video links ( #1670 )
2020-07-31 15:29:18 +05:00
Eugene Molotov
868d3f600d
[VkBridge] Fix one letter bug on titles ( #1555 )
2020-05-17 20:21:37 +02:00
Eugene Molotov
46b9879c08
[VkBridge] Correct post date calculating ( #1417 )
...
* [VkBridge] Correct post date calculating
Before this commit, post dates from december past year were
calculated as december current year.
2020-01-16 12:00:10 +01:00
Eugene Molotov
02dd778124
[VkBridge] Save internal links in posts and get hashtags before making item ( #1363 )
2019-11-18 10:51:35 +01:00
Eugene Molotov
5b63121e92
[VkBridge] Change access token ( #1357 )
...
Previous access token was revoked
2019-11-09 18:51:16 +01:00
Eugene Molotov
50b234d893
[VkBridge] Photo and timestamp fixes ( #1287 )
...
* [VkBridge] Correct parsing of photos, fix timestamp for old posts
2019-09-16 21:30:27 +02:00
Eugene Molotov
af48f36fd2
[VkBridge] Switch maintainer ( #1288 )
2019-09-16 21:29:45 +02:00
Eugene Molotov
b0a780acda
[VkBridge] Ignore illegal characters in input html for iconv ( #1154 )
2019-06-06 20:05:41 +02:00
logmanoriginal
6c4098d655
Revert "all: Use ->remove() instead of ->outertext = ''"
...
This reverts commit 052844f5e1
.
There is a bug in ->remove() that causes the parser to incorrectly
identify elements in the DOM tree that shouldn't exist anymore.
References #1151
2019-06-02 13:06:16 +02:00
logmanoriginal
052844f5e1
all: Use ->remove() instead of ->outertext = ''
...
simplehtmldom 1.9 introduced new functions to recursively remove
nodes from the DOM. This allows removing elements without the need
to re-load the document by using $html->load($html->save()), which
is very inefficient.
Find more information about remove() at
https://simplehtmldom.sourceforge.io/docs/1.9/api/simple_html_dom_node/remove/
2019-06-01 21:29:57 +02:00
Eugene Molotov
6feda2220e
[VkBridge] Add option to hide reposts ( #1089 )
2019-04-07 21:50:58 +02:00
logmanoriginal
392e3ff6c7
phpcs: Fix violations
2018-11-05 12:55:58 +01:00
logmanoriginal
5fea9fc1f5
bridges: Fix bridges failing unit test
2018-08-09 17:04:16 +02:00
Eugene Molotov
df81fa62d1
[VkBridge] Video attachment fixes ( #766 )
...
* use defaultLinkTo
* remove duplicate video links
* remove line ending before "Reposted" label
* return newline before reposted string
* remove comments
* use video links that won't require login
* set title if video has no title
2018-08-09 17:02:36 +02:00
Eugene Molotov
43bb17f995
[VkBridge] Converting hashtags to categories ( #755 )
...
* [VkBridge] Converting hashtags to categories
2018-07-22 16:43:00 +02:00
LogMANOriginal
193ca87afa
[phpcs] enforce single quotes ( #732 )
...
* [phpcs] Add rule to enforce single quoted strings
2018-06-29 22:55:33 +01:00
Eugene Molotov
7dc09db9ca
[VkBridge] More beatifications and fixes ( #712 )
...
* Add one more selector for article_author_selector
* Extend video parsing
* Add poll parsing
2018-06-10 22:09:50 +02:00
Eugene Molotov
4369e077c2
[VkBridge] Fixed image src link generating for photo ( #700 )
2018-05-29 11:01:54 +02:00
Eugene Molotov
c1e3352218
[VkBridge] Extended article link parsing ( #685 )
...
* [VkBridge] Extended article link parsing
2018-05-05 12:03:54 +02:00