mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Use www.mncvision.id as TV guide source.
Guide for mncvision.id expects to be POST request. The first POST request indeed routed to https://mncvision.id/schedule/table, but this site will then redirect it to https://www.mncvision.id/schedule/table. The redirection will use GET request, so the schedule POST data will never be received by the site. Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
parent
0cc7f6a5c4
commit
f88cb8c0b1
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ dayjs.extend(customParseFormat)
|
|||
module.exports = {
|
||||
site: 'mncvision.id',
|
||||
days: 2,
|
||||
url: 'https://mncvision.id/schedule/table',
|
||||
url: 'https://www.mncvision.id/schedule/table',
|
||||
request: {
|
||||
method: 'POST',
|
||||
data: function ({ channel, date }) {
|
||||
|
|
|
@ -26,7 +26,7 @@ const headers = {
|
|||
}
|
||||
|
||||
it('can generate valid url', () => {
|
||||
expect(url).toBe('https://mncvision.id/schedule/table')
|
||||
expect(url).toBe('https://www.mncvision.id/schedule/table')
|
||||
})
|
||||
|
||||
it('can generate valid request method', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue