anaclumos / youtube-comment-language-filter

YouTube Comment Language Filter
MIT License
33 stars 6 forks source link

YouTube Comment Location Changed #6

Closed anaclumos closed 4 years ago

anaclumos commented 4 years ago

Previously it was

document.getElementsByTagName("ytd-comment-thread-renderer")[0].childNodes[1].childNodes[1].childNodes[3].childNodes[3].childNodes[1].innerText;

Now it is

document.getElementsByTagName("ytd-comment-thread-renderer")[0].childNodes[2].childNodes[2].childNodes[3].childNodes[3].innerText;
anaclumos commented 4 years ago

Update: The correct address is

document.getElementsByTagName("ytd-comment-thread-renderer")[i].childNodes[2].childNodes[2].childNodes[3].childNodes[3].childNodes[1].innerText

The previous address also includes texts such as "Read More"

anaclumos commented 4 years ago

:rocket: v.1.1.3 resolved this issue.