René's URL Explorer Experiment


Title: changing the key fails · Issue #4 · realpython/python-speech-recognition · GitHub

Open Graph Title: changing the key fails · Issue #4 · realpython/python-speech-recognition

X Title: changing the key fails · Issue #4 · realpython/python-speech-recognition

Description: I got a new GCP API key, and I tried to use it but I keep getting broken connection: Traceback (most recent call last): File "main.py", line 13, in speech=r.recognize_google(audio,key='A...........8g') File "/home/davy/anaconda3...

Open Graph Description: I got a new GCP API key, and I tried to use it but I keep getting broken connection: Traceback (most recent call last): File "main.py", line 13, in speech=r.recognize_google(audio,key='A.....

X Description: I got a new GCP API key, and I tried to use it but I keep getting broken connection: Traceback (most recent call last): File "main.py", line 13, in <module> speech=r.recognize_googl...

Opengraph URL: https://github.com/realpython/python-speech-recognition/issues/4

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"changing the key fails","articleBody":"I got a new GCP API key, and I tried to use it but I keep getting broken connection:\r\n\r\n\r\n`Traceback (most recent call last):\r\n  File \"main.py\", line 13, in \u003cmodule\u003e\r\n    speech=r.recognize_google(audio,key='A...........8g')\r\n  File \"/home/davy/anaconda3/lib/python3.6/site-packages/speech_recognition/__init__.py\", line 845, in recognize_google\r\n    raise RequestError(\"recognition connection failed: {}\".format(e.reason))\r\nspeech_recognition.RequestError: recognition connection failed: [Errno 32] Broken pipe\r\n`\r\nI don't really understand why that is. I noticed that in the __init__.py file the key is set as follows:\r\n\r\n`\r\n        if key is None: key = \"AIz...bla...bla..bla...gw\"\r\n        url = \"http://www.google.com/speech-api/v2/recognize?{}\".format(urlencode({\r\n            \"client\": \"chromium\",\r\n            \"lang\": language,\r\n            \"key\": key,\r\n        }))`\r\n\r\nDo i need to change the client? but it is just an API key client shouldn't matter right?","author":{"url":"https://github.com/jzoudavy","@type":"Person","name":"jzoudavy"},"datePublished":"2018-05-15T03:10:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4/python-speech-recognition/issues/4"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:77bb4618-e92b-7ea9-b58f-c9c859b4ffd0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id83AA:196750:122909B:18F5F77:6969FC63
html-safe-nonce197aef5ab221a5ca4205641ac847bd780d13dae56dea3de89200dbff3009e5cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0FBOjE5Njc1MDoxMjI5MDlCOjE4RjVGNzc6Njk2OUZDNjMiLCJ2aXNpdG9yX2lkIjoiNjA2OTY5MzIyNTIyOTc0NTI1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacabac0f3633c4b7b34c90a0f321d56184f5e84df52df34f3f54b97d2318e02594
hovercard-subject-tagissue:323051295
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/realpython/python-speech-recognition/4/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b1f10e502cb05e8124f91ebd465922d0b82e5c37c08ab6fc6343c4d18caddf5d/realpython/python-speech-recognition/issues/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1f10e502cb05e8124f91ebd465922d0b82e5c37c08ab6fc6343c4d18caddf5d/realpython/python-speech-recognition/issues/4
og:image:altI got a new GCP API key, and I tried to use it but I keep getting broken connection: Traceback (most recent call last): File "main.py", line 13, in speech=r.recognize_google(audio,key='A.....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejzoudavy
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/realpython/python-speech-recognition git https://github.com/realpython/python-speech-recognition.git
octolytics-dimension-user_id5448020
octolytics-dimension-user_loginrealpython
octolytics-dimension-repository_id125435050
octolytics-dimension-repository_nworealpython/python-speech-recognition
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id125435050
octolytics-dimension-repository_network_root_nworealpython/python-speech-recognition
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/realpython/python-speech-recognition/issues/4#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frealpython%2Fpython-speech-recognition%2Fissues%2F4
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frealpython%2Fpython-speech-recognition%2Fissues%2F4
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=realpython%2Fpython-speech-recognition
Reloadhttps://github.com/realpython/python-speech-recognition/issues/4
Reloadhttps://github.com/realpython/python-speech-recognition/issues/4
Reloadhttps://github.com/realpython/python-speech-recognition/issues/4
realpython https://github.com/realpython
python-speech-recognitionhttps://github.com/realpython/python-speech-recognition
Notifications https://github.com/login?return_to=%2Frealpython%2Fpython-speech-recognition
Fork 183 https://github.com/login?return_to=%2Frealpython%2Fpython-speech-recognition
Star 247 https://github.com/login?return_to=%2Frealpython%2Fpython-speech-recognition
Code https://github.com/realpython/python-speech-recognition
Issues 4 https://github.com/realpython/python-speech-recognition/issues
Pull requests 3 https://github.com/realpython/python-speech-recognition/pulls
Actions https://github.com/realpython/python-speech-recognition/actions
Projects 0 https://github.com/realpython/python-speech-recognition/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/realpython/python-speech-recognition/security
Please reload this pagehttps://github.com/realpython/python-speech-recognition/issues/4
Insights https://github.com/realpython/python-speech-recognition/pulse
Code https://github.com/realpython/python-speech-recognition
Issues https://github.com/realpython/python-speech-recognition/issues
Pull requests https://github.com/realpython/python-speech-recognition/pulls
Actions https://github.com/realpython/python-speech-recognition/actions
Projects https://github.com/realpython/python-speech-recognition/projects
Security https://github.com/realpython/python-speech-recognition/security
Insights https://github.com/realpython/python-speech-recognition/pulse
New issuehttps://github.com/login?return_to=https://github.com/realpython/python-speech-recognition/issues/4
New issuehttps://github.com/login?return_to=https://github.com/realpython/python-speech-recognition/issues/4
changing the key failshttps://github.com/realpython/python-speech-recognition/issues/4#top
https://github.com/jzoudavy
https://github.com/jzoudavy
jzoudavyhttps://github.com/jzoudavy
on May 15, 2018https://github.com/realpython/python-speech-recognition/issues/4#issue-323051295
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.