FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add initial Markdown support by strzibny · Pull Request #7 · serpapi/serpapi-php · GitHub

Add initial Markdown support - #7

Merged
strzibny merged 3 commits into
masterfrom
markdown
Aug 18, 2026
Merged

Add initial Markdown support#7
strzibny merged 3 commits into
masterfrom
markdown

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

strzibny requested a review from galetahub August 17, 2026 12:05

galetahub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@strzibny, thanks for working on it! 👍

I only have a few questions.

Comment thread README.md Outdated

## Change log

* Unreleased - Add Markdown search and archive output support

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I haven't released version 1.0.0 yet. Let's include this change in the first release.

Comment thread tests/ClientTest.php Outdated
public function testMdReturnsRawMarkdown()
{
$markdown = "---\nengine: google\n---\n\n## Organic Results\n";
$client = new StubClient([

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Got this error in tests. It looks like the StubClient class isn't in this PR.

1) SerpApi\Tests\ClientTest::testMdReturnsRawMarkdown
Error: Class "SerpApi\Tests\StubClient" not found

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes, forgot to include it, but now that I think about it it's not the right place to introduce stubbing, I will keep the test suite as is for now.

galetahub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you @strzibny, LGTM 👍

strzibny merged commit 8aa41f4 into master Aug 18, 2026
10 of 20 checks passed
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL