mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-25 09:39:52 +05:30
Remove debug print
This commit is contained in:
parent
86333cd434
commit
ff66cec920
@ -652,7 +652,6 @@ module HelperExtractors
|
|||||||
#
|
#
|
||||||
# Returns a 0 when it's unable to do so
|
# Returns a 0 when it's unable to do so
|
||||||
def self.get_video_count(container : JSON::Any) : Int32
|
def self.get_video_count(container : JSON::Any) : Int32
|
||||||
puts container
|
|
||||||
if box = container["videoCountText"]?
|
if box = container["videoCountText"]?
|
||||||
if (extracted_text = extract_text(box)) && !extracted_text.includes? " subscriber"
|
if (extracted_text = extract_text(box)) && !extracted_text.includes? " subscriber"
|
||||||
return extracted_text.gsub(/\D/, "").to_i
|
return extracted_text.gsub(/\D/, "").to_i
|
||||||
|
Loading…
Reference in New Issue
Block a user