Update create-database.js
This commit is contained in:
9
tests/__data__/input/sites/example.com.config.js
Normal file
9
tests/__data__/input/sites/example.com.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
site: 'example.com',
|
||||
url() {
|
||||
return `https://example.com`
|
||||
},
|
||||
parser() {
|
||||
return []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site site="example.com">
|
||||
<channels>
|
||||
<channel lang="ru" xmltv_id="CNNInternationalEurope.us" site_id="140">CNN International Europe</channel>
|
||||
</channels>
|
||||
</site>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site site="example.com">
|
||||
<channels>
|
||||
<channel lang="en" xmltv_id="1Plus2.lv" site_id="1341">1+2</channel>
|
||||
</channels>
|
||||
</site>
|
||||
Reference in New Issue
Block a user