mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
commit
1573b86d50
@ -23,8 +23,7 @@ export default Vue.extend({
|
||||
data() {
|
||||
return {
|
||||
downloading: false,
|
||||
midRegex: /mid=(\d+)/,
|
||||
roomIdRegex: /^https:\/\/live\.bilibili\.com\/(\d+)(?:\?.*)?$/,
|
||||
roomIdRegex: /^https:\/\/live\.bilibili\.com\/(?:blanc\/)?(\d+)(?:\?\.*?)?$/,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import { defineComponentMetadata } from '@/components/define'
|
||||
import { liveUrls } from '@/core/utils/urls'
|
||||
|
||||
export const component = defineComponentMetadata({
|
||||
name: 'downloadEmoticons',
|
||||
@ -12,5 +13,5 @@ export const component = defineComponentMetadata({
|
||||
widget: {
|
||||
component: () => import('./Widget.vue').then(m => m.default),
|
||||
},
|
||||
urlInclude: [/^https:\/\/live\.bilibili\.com\/(\d+)/],
|
||||
urlInclude: liveUrls,
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user