mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-26 18:58:28 -05:00 
			
		
		
		
	FIX: Invalid Int32: (ArgumentError) in
ChannelRenderer. It's only a temporary fix until the YT devs get their things together but till then it works fine.
This commit is contained in:
		
							parent
							
								
									5160d8bae3
								
							
						
					
					
						commit
						6325c31630
					
				| @ -169,7 +169,7 @@ private module Parsers | ||||
|       # When public subscriber count is disabled, the subscriberCountText isn't sent by InnerTube. | ||||
|       # Always simpleText | ||||
|       # TODO change default value to nil | ||||
|       subscriber_count = item_contents.dig?("subscriberCountText", "simpleText") | ||||
|       subscriber_count = item_contents.dig?("videoCountText", "simpleText") | ||||
|         .try { |s| short_text_to_number(s.as_s.split(" ")[0]).to_i32 } || 0 | ||||
| 
 | ||||
|       # Auto-generated channels doesn't have videoCountText | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user