Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Build scraping workflows for search engines, eCommerce platforms, social media,

# What is Decodo Python SDK?

Decodo Python SDK is the official Python SDK for the Decodo Web Scraping API. It provides a typed interface for interacting with Decodo targets like Google, Amazon, TikTok, Reddit, YouTube, ChatGPT, Perplexity, and more.
Decodo Python SDK is the official Python SDK for the Decodo Web Scraping API. It provides a typed interface for interacting with Decodo targets like Google, Amazon, TikTok, YouTube, ChatGPT, Perplexity, and more.

Instead of manually constructing HTTP requests and validating payloads, you can work with fully typed methods and target-specific parameters directly in your editor.

Expand Down Expand Up @@ -571,9 +571,6 @@ Each target accepts one primary input parameter (`url`, `query`, `product_id`, o

| Target | Parameter class | Description | Example input |
| -------------------------------- | ------------------------------- | -------------------------------------- | --------------------------------------------- |
| `Target.RedditPost` | `RedditPostParams` | Reddit post by URL | `url="https://reddit.com/r/nba/comments/..."` |
| `Target.RedditSubreddit` | `RedditSubredditParams` | Reddit subreddit by URL | `url="https://reddit.com/r/nba/"` |
| `Target.RedditUser` | `RedditUserParams` | Reddit user profile by URL | `url="https://reddit.com/user/example/"` |
| `Target.YoutubeSearch` | `YoutubeSearchParams` | YouTube search results | `query="ambient music"` |
| `Target.YoutubeMetadata` | `YoutubeMetadataParams` | YouTube video metadata by ID | `query="dFu9aKJoqGg"` |
| `Target.YoutubeSubtitles` | `YoutubeSubtitlesParams` | YouTube video subtitles by ID | `query="dFu9aKJoqGg"` |
Expand Down
27 changes: 0 additions & 27 deletions examples/web_scraping_api/reddit_post.py

This file was deleted.

27 changes: 0 additions & 27 deletions examples/web_scraping_api/reddit_subreddit.py

This file was deleted.

27 changes: 0 additions & 27 deletions examples/web_scraping_api/reddit_user.py

This file was deleted.

1 change: 1 addition & 0 deletions examples/web_scraping_api/universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
url='https://www.example.com',
geo='United States',
markdown=True,
main_content=True,
)
)

Expand Down
3 changes: 0 additions & 3 deletions src/decodo/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ class Target(StrEnum):
TiktokShopSearch = "tiktok_shop_search"
TiktokShopProduct = "tiktok_shop_product"
Tiktok = "tiktok"
RedditPost = "reddit_post"
RedditSubreddit = "reddit_subreddit"
RedditUser = "reddit_user"
YoutubeMetadata = "youtube_metadata"
YoutubeSearch = "youtube_search"
YoutubeSubtitles = "youtube_subtitles"
Expand Down