Closed FoxxMD closed 2 years ago
Implemented majority of this in 9d0e098db13cd7d29b01fd222a4a3f5a3a58670d a787e4515b2c9747c934a41bb8a3df404d9e9cd5 and 0c31bdf25e63e0d50576b04df35d3fdd5bdd9404
@OmgImAlexis I could use another set of eyes on the documentation to make sure it makes sense. Would you mind taking a look and giving any feedback you can think of?
Based on the description of karma farming from this thread.
Comments
Check the content of a comment activity against a list of "top" text comments based (and retrieved from) on the submission source:
https://www.googleapis.com/youtube/v3/commentThreads?key=${API_KEY}&textFormat=plainText&order=relevance&part=snippet&filter=snippet&videoId={VIDEO_ID}&maxResults=100
For detecting a match:
Submissions
[x] Do a reddit search for submission title and use fuzzy searching with user-defined threshold for sameness
[x] cache retrieved comments using a unique id based on submission source
Restricting subreddit search
https://reddit.com/r/mealtimevideos+videos/search?q=${QUERY}&restrict_sr=1
Search by submission url
?someQueryParam=...
since reddit seems to only search by base urlurl
token in query to search by url IE.../search?q=url:${BASE_URL}