Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bleeding-edge YouTube search results aren't parsed #73

Closed
4 tasks done
walking-octopus opened this issue Jun 14, 2022 · 2 comments
Closed
4 tasks done

bleeding-edge YouTube search results aren't parsed #73

walking-octopus opened this issue Jun 14, 2022 · 2 comments
Labels
bug Something isn't working Stale

Comments

@walking-octopus
Copy link

Current Behavior

It just returns unparsed data. I know you're likely already working on it, but I thought making this issue would help to monitor progress.

Steps to Reproduce

const json = await await youtube.search("Hello, world!");
for (const video of json.payload.videos) {
  print(video.title);
  resultsModel.append({
    videoTitle: video.title,
    channel: video.channel,
    thumbnail: video.metadata.thumbnails[0].url,
    published: video.metadata.published,
    views: video.metadata.view_count,
    duration: video.metadata.duration,
    id: video.id,
  });
}

Failure

results.videos not found.

Checklist

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I have provided sufficient information
@walking-octopus walking-octopus added the bug Something isn't working label Jun 14, 2022
@Wykerd
Copy link
Collaborator

Wykerd commented Jun 15, 2022

This should be fixed in v2 with the new parsers. See #65 and #44

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants