Fix sample integrations - #58
Open
arunimshukla wants to merge 4 commits into
Open
Conversation
Replace Puppeteer code with Ruby sample. Signed-off-by: Arunim Shukla <54760103+arunimshukla@users.noreply.github.com>
Fix unterminated string in Puppeteer sample Signed-off-by: Arunim Shukla <54760103+arunimshukla@users.noreply.github.com>
Update puppeteer.mdx
Signed-off-by: Arunim Shukla <54760103+arunimshukla@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Puppeteer sample has an unterminated string on the
usernameline(
'{PROXY_USERNAME},). Saving the block and runningnode --checkreturnsa SyntaxError, so the sample fails on copy-paste.
residential/samples/ruby.mdxcurrently contains the Puppeteer samplerather than Ruby. The page description explains that Ruby's stdlib doesn't
support HTTPS proxy connections and points to the HTTP port, but the code
connects to 65535. Replaced with a
Net::HTTP.Proxysample on port 65534matching the description.
Also corrected the Python code fence from
javascripttopython.