Skip to content

Domains options#624

Merged
nleush merged 28 commits intodevfrom
feature/domains
Feb 13, 2026
Merged

Domains options#624
nleush merged 28 commits intodevfrom
feature/domains

Conversation

@nleush
Copy link
Member

@nleush nleush commented Feb 11, 2026

About the changes

  • New feature (non-breaking change which adds functionality)

What has changed

Please describe what the code is doing (in this repo):

  • added options.getDomainOptions to read options by current url domain

Checklist

  • I have performed a self-review of my code, including Files Changed view
  • Fix/feat branches in all related repos are named the same
  • All related PRs are submitted
  • Task is DONE and links back to this PR or no task

Review

Please note any risks, caveats, migration steps, release notices or additional tasks.

  • PRs have been tested on staging by DEV
  • PRs have been tested on staging by QA
  • PRs have been tested on staging by PRODUCT

Please describe the tests and give additional instructions if required, add screenshots and links if necessary.

@nleush nleush changed the title Feature/domains Domains options Feb 11, 2026
nleush and others added 9 commits February 13, 2026 15:12
* clips.twitch.tv: update test URL

* libsyn.com: update test URLs
* 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>
* 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>
* twitch.tv: add test URLs

* twitch-live-fallback: update test URL
…#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>
@nleush nleush merged commit 5823609 into dev Feb 13, 2026
3 checks passed
@nleush nleush deleted the feature/domains branch February 13, 2026 13:36
nleush added a commit that referenced this pull request Feb 13, 2026
* 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>
nleush added a commit that referenced this pull request Feb 13, 2026
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants