Commit 5ae9eb5
Domains options (#624)
* domains list loader
* better whitelist reload timeout handling
* implement find domain pattern by url
* domain role weight
* domains: find and merge records
* core: `options.getDomainOptions`
* use `getDomainOptions` in core
* read `options.getDomainOptions('mete.prerender')` to enable prerender
* remove obsolete
* fix prerender using logic
* bugfix
* bugfix using `getDomainOptions`
* bugfix typo
* `getDomainOptions` can read from `CONFIG.domainOptions`
* do not try to run prerender on PRERENDER URLs
* remove `registerDomainOptionsUsage`
* `getDomainOptions` can read from query params
* bugfix undefined
* Update audit.log
* remove unused `xregexp`
* Update audit.log
* [Tests] Review tests in domain plugins (#618)
* clips.twitch.tv: update test URL
* libsyn.com: update test URLs
* Tests: v.qq.com - replace selector with fixed URLs (#619)
* v.qq.com: add static test URLs, there are no hrefs in selector yet
* Update audit.log
* v.qq.com: revert $ in regexp
---------
Co-authored-by: Nazar Leush <n.leush@gmail.com>
* [Domains] fix Instagram's new reels schema (#620)
* [Domains] Review tests in domain plugins (#621)
* soundcloud.com: fix user profiles tests
* youku.com: update page and selector
* imageshack.com: update selector in tests
* youku.com: add regexp for native hrefs on pages
* imageshack.com: change page and selector to avoid 504 error
* v.qq.com: https instead of http
* better handling of 403 on SoundCloud profiles
* remove redundant regex for youku
* fix youku tests
---------
Co-authored-by: Ivan Paramonau <i.paramonau@gmail.com>
* [Tests] Review test URLs in twitch plugins (#622)
* twitch.tv: add test URLs
* twitch-live-fallback: update test URL
* [Tests] Review Facebook post test, update test URLs in domain plugins (#623)
* update test URLs in domain plugins
* tumblr: update test URLs
* tumblr.text: remove bad test URL
* clips.twitch.tv: add parent to test URLs
* twitch-live-fallback: add parent param
* Update audit.log
* review failing Facebook post test
---------
Co-authored-by: Nazar Leush <n.leush@gmail.com>
Co-authored-by: Ivan Paramonau <i.paramonau@gmail.com>
---------
Co-authored-by: Ivan Paramonau <i.paramonau@gmail.com>
Co-authored-by: Aliaksei <34516115+siniakinaa@users.noreply.github.com>1 parent a2fbfd0 commit 5ae9eb5
7 files changed
Lines changed: 95 additions & 14 deletions
File tree
- lib
- plugins/links/prerender
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1612 | 1612 | | |
1613 | 1613 | | |
1614 | 1614 | | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1615 | 1660 | | |
1616 | 1661 | | |
1617 | 1662 | | |
| |||
1969 | 2014 | | |
1970 | 2015 | | |
1971 | 2016 | | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
1972 | 2021 | | |
1973 | 2022 | | |
1974 | 2023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
94 | 110 | | |
95 | 111 | | |
96 | 112 | | |
97 | 113 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 114 | + | |
| 115 | + | |
105 | 116 | | |
106 | 117 | | |
107 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
| |||
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
329 | | - | |
| 331 | + | |
| 332 | + | |
330 | 333 | | |
331 | 334 | | |
332 | 335 | | |
| |||
337 | 340 | | |
338 | 341 | | |
339 | 342 | | |
340 | | - | |
| 343 | + | |
| 344 | + | |
341 | 345 | | |
342 | 346 | | |
343 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments