You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
channelInfo = {
channelId: channelPageResponse.data.responseContext.serviceTrackingParams.find((service) => service.service === 'GOOGLE_HELP').params[0].value,
channelName: new RegExp(`${firstVideoTitle.runs[0].text} by (.*?) ${firstPublishTimeText.simpleText}`, 'g').exec(firstVideoTitle.accessibility.accessibilityData.label)[1]
}
channelName: new RegExp(`${firstVideoTitle.runs[0].text} by (.*?) ${firstPublishTimeText.simpleText}`, 'g').exec
c(firstVideoTitle.accessibility.accessibilityData.label)[1]
^
SyntaxError: Invalid regular expression: /왁피셜)돚거 폼 미쳤다 by (.*?) 1 month ago/: Unmatched ')'
at new RegExp (<anonymous>)
at YoutubeGrabber.getChannelVideosMore (C:\Users\GurumNyang\Documents\Github\drabulyfinder2\node_modules\yt-channel-
-info\app\youtube-grabber.js:267:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.getChannelVideos (C:\Users\GurumNyang\Documents\Github\drabulyfinder2\src\utils\youtube\scrapVideo.j
js:121:23)
cannot process this video
video Title: 왁피셜)돚거 폼 미쳤다
my solution. I removed video title, using firstVideoTitle.accessibility.accessibilityData.label.replace(firstVideoTitle.runs[0].text, "")
channelInfo = {
channelId: channelPageResponse.data.responseContext.serviceTrackingParams.find((service) => service.service === 'GOOGLE_HELP').params[0].value,
channelName: new RegExp(` by (.*?) ${firstPublishTimeText.simpleText}`, 'g').exec(firstVideoTitle.accessibility.accessibilityData.label.replace(firstVideoTitle.runs[0].text, ""))[1]
}
```
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
youtube-grabber.js, line 264~267
cannot process this video
video Title: 왁피셜)돚거 폼 미쳤다
my solution. I removed video title, using
firstVideoTitle.accessibility.accessibilityData.label.replace(firstVideoTitle.runs[0].text, "")
The text was updated successfully, but these errors were encountered: