mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update database/export.js
This commit is contained in:
parent
4d72198955
commit
8f6095d2df
4 changed files with 16 additions and 6 deletions
|
@ -9,11 +9,15 @@ async function main() {
|
|||
streams = _.sortBy(streams, 'channel_id')
|
||||
streams = streams.map(stream => {
|
||||
return {
|
||||
channel: stream.channel_id,
|
||||
display_name: stream.display_name,
|
||||
channel: stream.channel,
|
||||
title: stream.title,
|
||||
url: stream.url,
|
||||
http_referrer: stream.http['referrer'],
|
||||
user_agent: stream.http['user-agent']
|
||||
width: stream.width,
|
||||
height: stream.height,
|
||||
bitrate: stream.bitrate,
|
||||
is_online: stream.is_online,
|
||||
http_referrer: stream.http_referrer,
|
||||
user_agent: stream.user_agent
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue