update custom fix
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build docker container / build (push) Successful in 4m26s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build docker container / build (push) Successful in 4m26s
				
			This commit is contained in:
		| @@ -120,4 +120,6 @@ Sometimes a new version of this image will be bound to the same source commit. T | |||||||
| - 1.0.14 | - 1.0.14 | ||||||
|   [10-14-2024](https://github.com/iptv-org/epg/commit/7610f7b9f5cc1ccab8d17f3408a95d31b36ace7c)<br>Change fix for movistarplus.es in order to work with new API |   [10-14-2024](https://github.com/iptv-org/epg/commit/7610f7b9f5cc1ccab8d17f3408a95d31b36ace7c)<br>Change fix for movistarplus.es in order to work with new API | ||||||
| - 1.0.15 | - 1.0.15 | ||||||
|   [11-26-2024](https://github.com/iptv-org/epg/commit/d15911006e163262c0c7f267deae28160c0d7a8f)<br>Add option to customize channel endpoint |   [11-26-2024](https://github.com/iptv-org/epg/commit/d15911006e163262c0c7f267deae28160c0d7a8f)<br>Add option to customize channel endpoint | ||||||
|  | - 1.0.16 | ||||||
|  |   [11-26-2024](https://github.com/iptv-org/epg/commit/d15911006e163262c0c7f267deae28160c0d7a8f)<br>Fix icons for movistarplus.es | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| const { DateTime } = require('luxon') | const { DateTime } = require('luxon') | ||||||
|  |  | ||||||
| const API_PROGRAM_ENDPOINT = 'https://comunicacion.movistarplus.es' | const API_PROGRAM_ENDPOINT = 'https://comunicacion.movistarplus.es' | ||||||
| const API_IMAGE_ENDPOINT = 'https://www.movistarplus.es/recorte/n/caratulaH/'; | const API_IMAGE_ENDPOINT = 'https://www.movistarplus.es/recorte/n/externov'; | ||||||
|  |  | ||||||
| module.exports = { | module.exports = { | ||||||
|   site: 'movistarplus.es', |   site: 'movistarplus.es', | ||||||
| @@ -61,7 +61,12 @@ module.exports = { | |||||||
| } | } | ||||||
|  |  | ||||||
| function parseIcon(item, channel) { | function parseIcon(item, channel) { | ||||||
|   return `${API_IMAGE_ENDPOINT}/M${channel.site_id}P${item.cod_evento_rejilla}`; |   if(item.cod_elemento_emision) | ||||||
|  |   { | ||||||
|  |     	return `${API_IMAGE_ENDPOINT}/M${channel.site_id}P${item.cod_elemento_emision}` | ||||||
|  |   } | ||||||
|  |    | ||||||
|  |   return '' | ||||||
| } | } | ||||||
|  |  | ||||||
| function parseItems(content, channel) { | function parseItems(content, channel) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user