mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update /sites
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -56,7 +56,7 @@ module.exports = {
|
||||
},
|
||||
async channels() {
|
||||
const content = await axios
|
||||
.get(`https://www.tvpassport.com/tv-listings`, {
|
||||
.get('https://www.tvpassport.com/tv-listings', {
|
||||
headers: {
|
||||
Cookie: 'cisession=317b3a464bfe449650b7cc4b16ccf900a6646d88;'
|
||||
}
|
||||
@@ -152,5 +152,5 @@ function parseItems(content) {
|
||||
if (!content) return []
|
||||
const $ = cheerio.load(content)
|
||||
|
||||
return $(`.station-listings .list-group-item`).toArray()
|
||||
return $('.station-listings .list-group-item').toArray()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// npx epg-grabber --config=sites/tvpassport.com/tvpassport.com.config.js --channels=sites/tvpassport.com/tvpassport.com.channels.xml --output=guide.xml --days=2
|
||||
// npm run grab -- --site=tvpassport.com
|
||||
// npm run channels:parse -- --config=./sites/tvpassport.com/tvpassport.com.config.js --output=./sites/tvpassport.com/tvpassport.com.channels.xml
|
||||
|
||||
const { parser, url, request } = require('./tvpassport.com.config.js')
|
||||
|
||||
Reference in New Issue
Block a user