mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -05: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:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user