misc.anonradio: fix regex try 2
This commit is contained in:
		
							parent
							
								
									b111c1b468
								
							
						
					
					
						commit
						85eef5667a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -330,7 +330,7 @@ anonradio.callback = async function (msg, line) {
 | 
			
		|||
    subtitle = playing;
 | 
			
		||||
  } else {
 | 
			
		||||
    const [_, current, peakDay, peakMonth, dj, metadata] = playing.match(
 | 
			
		||||
      /^\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+?)$/
 | 
			
		||||
      /\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+)/
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    if (metadata == "https://archives.anonradio.net") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue