Open GoogolGenius opened 2 years ago
On r/shogi
I observe something similar (a link to a video):
...
media: {
type: 'youtube.com',
oembed: {
provider_url: 'https://www.youtube.com/',
version: '1.0',
title: 'ð SHOGI TIME!! With Karolina-sensei!!! (Mostly EN Stream) ãVtuber Indonesiaã',
type: 'video',
thumbnail_width: 480,
height: 200,
width: 356,
html: '<iframe width="356" height="200" src="https://www.youtube.com/embed/gN0psEmU5rI?feature=oembed&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen title="ð SHOGI TIME!! With Karolina-sensei!!! (Mostly EN Stream) ãVtuber Indonesiaã"></iframe>',
author_name: 'Aika Meru ã Yume Reality ã',
provider_name: 'YouTube',
thumbnail_url: 'https://i.ytimg.com/vi/gN0psEmU5rI/hqdefault.jpg',
thumbnail_height: 360,
author_url: 'https://www.youtube.com/c/AikaMeru'
}
},
is_video: false
...
Explain the Problem: Setting
allowVideo: false
still retrieves subreddit posts withpost.is_video
.To Reproduce: Example code below:
Expected Behavior: Should only retrieve posts without video attachments.
Screenshots:
Desktop:
Additional Context Currently running on Replit Online IDE.