# Weibo Feed Scraper (`saswave/weibo-feed-scraper`) Actor

Weibo feed scraper, extract posts information on any feed url from website weibo.com. Collect information about title, content, publication date and more

- **URL**: https://apify.com/saswave/weibo-feed-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** News, Social media, Automation
- **Stats:** 77 total users, 1 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

$15.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### Weibo Feed Scraper

Extract and collect Weibo posts effortlessly from any feed URL on Weibo.com

Retrieve structured data including post content, author information, publication date, videos, images, and engagement statistics.

### 🔹 Features

Scrape Any Weibo Feed: Extract posts from user timelines, trending feeds, or public pages.

Rich Post Information: Collect detailed data such as:

- Post text and raw content

- Publication date and time

- Author profile, followers, verification status

- Likes, comments, reposts, and total engagement

- Media content (images, videos, GIFs)

- Region and source metadata

Structured JSON Output: Fully parseable JSON for easy integration with analytics or apps.

Video Metadata & URLs: Supports multiple quality formats (720p, 1080p) and direct download links.

Follow & Engagement Buttons: Retrieve follow status and action logs for each post.

### Ouput example

```json
{
  "visible": {
    "type": 0,
    "list_id": 0
  },
  "created_at": "Thu Apr 03 15:16:51 +0800 2025",
  "id": 5151365102571654,
  "idstr": "5151365102571654",
  "mid": "5151365102571654",
  "mblogid": "PlyeWaN0i",
  "user": {
    "id": 5371503934,
    "idstr": "5371503934",
    "pc_new": 7,
    "screen_name": "科技小凡",
    "profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.50/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409156&ssig=sqVPkVv6r6",
    "profile_url": "/u/5371503934",
    "verified": true,
    "verified_type": 0,
    "domain": "",
    "weihao": "",
    "verified_type_ext": 0,
    "status_total_counter": {
      "total_cnt_format": "1016.6万",
      "comment_cnt": "2,216,636",
      "repost_cnt": "579,559",
      "like_cnt": "7,370,019",
      "total_cnt": "10,166,214"
    },
    "avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409156&ssig=XnN1r%2FgLpA",
    "avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.1024/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409156&ssig=zf7nHsoNug",
    "follow_me": false,
    "following": false,
    "mbrank": 7,
    "mbtype": 12,
    "v_plus": 0,
    "user_ability": 3425800,
    "planet_video": false,
  },
  "can_edit": false,
  "textLength": 72,
  "annotations": [
    {
      "photo_sub_type": ""
    },
    {
      "client_mblogid": "iPhone-A82C26FB-6ABD-47F0-9EB1-19FAA257E5F2"
    },
    {
      "source_text": "",
      "phone_id": ""
    },
    {
      "mapi_request": true
    }
  ],
  "source": "微博视频号",
  "favorited": false,
  "buttons": [
    {
      "type": "follow",
      "name": "关注",
      "pic": "http://u1.sinaimg.cn/upload/2013/07/02/timeline_card_small_button_icon_add.png",
      "params": {
        "uid": 5371503934,
        "extparams": {
          "followscene": "hotweibochannel",
          "followcardid": "1028030063_5151365102571654"
        },
        "able_recommend": 1
      },
      "actionlog": {
        "act_code": "91",
        "source": "hot",
        "act_type": "1",
        "uicode": "",
        "oid": "2019219823498",
        "fid": "102803_ctg1_1761_-_ctg1_1761",
        "cardid": "102803_-_mbloglist_5151365102571654",
        "ext": "uid:2019219823498|mid:5151365102571654|act:follow|time:1744398356|source:|recommend_source:1|contributor:|hot_request_id:1744398356794233201921982327992"
      }
    }
  ],
  "rid": "0_0_0_5246608259248012843_0_0_0",
  "cardid": "star_1159",
  "is_controlled_by_server": 1,
  "pic_ids": [],
  "pic_num": 0,
  "is_paid": false,
  "pic_bg_new": "http://vip.storage.weibo.com/feed_cover/star_1159_mobile_new.png?version=2025032601",
  "mblog_vip_type": 0,
  "number_display_strategy": {
    "apply_scenario_flag": 19,
    "display_text_min_number": 1000000,
    "display_text": "100万+"
  },
  "reposts_count": 335,
  "comments_count": 247,
  "attitudes_count": 1065,
  "attitudes_status": 0,
  "isLongText": false,
  "mlevel": 0,
  "content_auth": 0,
  "is_show_bulletin": 2,
  "comment_manage_info": {
    "comment_permission_type": -1,
    "approval_comment_type": 0,
    "comment_sort_type": 0
  },
  "share_repost_type": 0,
  "url_struct": [
    {
      "url_title": "科技小凡的微博视频",
      "url_type_pic": "https://h5.sinaimg.cn/upload/2015/09/25/3/timeline_card_small_video.png",
      "ori_url": "sinaweibo://video/vvs?mid=5151365102571654&object_id=1034:5151364771414052&url_type=39&object_type=video&pos=1",
      "page_id": "2304445151364771414052",
      "short_url": "http://t.cn/A6r5zFzx",
      "long_url": "https://video.weibo.com/show?fid=1034:5151364771414052",
      "url_type": 39,
      "result": false,
      "actionlog": {
        "act_type": 1,
        "act_code": 300,
        "oid": "1034:5151364771414052",
        "uuid": 5151364832559156,
        "cardid": "",
        "lcardid": "",
        "uicode": "",
        "luicode": "",
        "fid": "",
        "lfid": "",
        "ext": "mid:5151365102571654|rid:0_0_0_5246608259248012843_0_0_0|short_url:http://t.cn/A6r5zFzx|long_url:https://video.weibo.com/show?fid=1034:5151364771414052|comment_id:|miduid:5371503934|rootmid:5151365102571654|rootuid:5371503934|authorid:5371503934|uuid:5151364832559156|is_ad_weibo:0|analysis_card:url_struct"
      },
      "storage_type": "oss",
      "hide": 0,
      "object_type": "",
      "ttl": 3600,
      "h5_target_url": "https://video.weibo.com/show?fid=1034:5151364771414052&from=1FFFF96039&weiboauthoruid=5371503934",
      "need_save_obj": 0
    }
  ],
  "title": {
    "text": ""
  },
  "mblogtype": 0,
  "mblog_menus_new": [
    {
      "pic": "https://h5.sinaimg.cn/upload/100/959/2019/05/16/buganxingqu.png",
      "type": "mblog_menus_no_interst",
      "name": "不感兴趣",
      "params": {
        "unLike_type": 10
      },
      "actionlog": {
        "act_code": 0,
        "act_type": 1,
        "mid": "5151365102571654",
        "source": "like_reduce",
        "materiel_type": 6,
        "unLike_type": 10,
        "spr": "uicode:|fid:102803|lfid:|luicode:|fromlog:102803"
      }
    },
    // truncated for example
  ],
  "extra_button_info": {
    "extra_button_image": "http://h5.sinaimg.cn/upload/2016/09/27/555/timeline_icon_delete.png",
    "extra_button_highlight_image": "http://h5.sinaimg.cn/upload/2016/09/27/555/timeline_icon_delete_highlighted.png",
    "extra_button_type": 0,
    "actionlog": {
      "act_type": "1",
      "act_code": "1558",
      "oid": "5151365102571654",
      "uicode": null,
      "fid": null,
      "lfid": null,
      "luicode": null,
      "source": "",
      "code": "",
      "mark": "",
      "ext": "",
      "spr": ""
    }
  },
  "showFeedRepost": false,
  "showFeedComment": false,
  "pictureViewerSign": false,
  "showPictureViewer": false,
  "rcList": [],
  "analysis_extra": "hot_request_id:1744398356794233201921982327992|final_rank:0",
  "readtimetype": "mblog",
  "mixed_count": 0,
  "is_show_mixed": false,
  "isSinglePayAudio": false,
  "text": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1 <a target=\"_blank\" href=\"https://video.weibo.com/show?fid=1034:5151364771414052\"><img class=\"icon-link\" title=\"http://t.cn/A6r5zFzx\" src=\"https://h5.sinaimg.cn/upload/2015/09/25/3/timeline_card_small_video_default.png\"/>科技小凡的微博视频</a> ​",
  "text_raw": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1 http://t.cn/A6r5zFzx ​",
  "region_name": "发布于 江苏",
  "page_info": {
    "type": 5,
    "page_id": "2304445151364771414052",
    "object_type": "video",
    "oid": "5371503934",
    "page_title": "科技小凡的微博视频",
    "page_pic": "https://wx2.sinaimg.cn/orj480/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
    "type_icon": "",
    "page_url": "sinaweibo://infopage?containerid=2304445151364771414052&containerid=2304445151364771414052&url_type=39&object_type=video&pos=2",
    "object_id": "1034:5151364771414052",
    "media_info": {
      "name": "科技小凡的微博视频",
      "stream_url": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "stream_url_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "format": "mp4",
      "h5_url": "https://video.weibo.com/show?fid=1034:5151364771414052",
      "mp4_sd_url": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "mp4_hd_url": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "h265_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "h265_mp4_ld": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "inch_4_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "inch_5_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "inch_5_5_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "mp4_720p_mp4": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
      "hevc_mp4_720p": "",
      "prefetch_type": 1,
      "prefetch_size": 262144,
      "act_status": 1,
      "protocol": "general,dash",
      "media_id": "5151364771414052",
      "origin_total_bitrate": 2067982,
      "video_orientation": "vertical",
      "duration": 61,
      "forward_strategy": -1,
      "search_scheme": "sinaweibo://svssearch?containerid=232080",
      "is_short_video": 0,
      "vote_is_show": 0,
      "belong_collection": 0,
      "titles_display_time": "3",
      "show_progress_bar": 1,
      "show_mute_button": true,
      "ext_info": {
        "video_orientation": "vertical"
      },
      "next_title": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1",
      "kol_title": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1",
      "play_completion_actions": [
        {
          "type": "1",
          "icon": "https://h5.sinaimg.cn/upload/100/1413/2021/12/22/feed_video_icon_replay.png",
          "text": "重播",
          "link": "",
          "btn_code": 1000,
          "show_position": 1,
          "actionlog": {
            "oid": "2304445151364771414052",
            "act_code": 1221,
            "act_type": 0,
            "source": "video"
          }
        },
        {
          "type": 6,
          "icon": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409156&ssig=XnN1r%2FgLpA",
          "text": "",
          "display_mode": 2,
          "display_starttime": 5,
          "display_endtime": 99999,
          "countdown_time": 5,
          "show_position": 48,
          "scheme": "",
          "link": "",
          "btn_code": 1009,
          "actionlog": {
            "oid": "2304445151364771414052",
            "act_code": 91,
            "act_type": 0,
            "source": "video",
            "ext": "mid:5151365102571654|oid:1034:5151364771414052|muid:5371503934|authorid:5371503934"
          },
          "ext": {
            "uid": "5371503934",
            "user_name": "科技小凡",
            "followers_count": 3094281,
            "verified": true,
            "verified_type": 0,
            "verified_reason": "数码博主",
            "level": 3
          },
          "display_type": 0
        }
      ],
      "video_publish_time": 1743664546,
      "play_loop_type": 0,
      "author_mid": "5151365102571654",
      "author_name": "科技小凡",
      "extra_info": {
        "sceneid": "feed"
      },
      "video_download_strategy": {
        "abandon_download": 0
      },
      "jump_to": 6,
      "big_pic_info": {
        "pic_big": {
          "height": 1920,
          "url": "https://wx2.sinaimg.cn/orj1080/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
          "width": 1080
        },
        "pic_small": {
          "height": 320,
          "url": "https://wx2.sinaimg.cn/or180/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
          "width": 180
        },
        "pic_middle": {
          "height": 640,
          "url": "https://wx2.sinaimg.cn/or360/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
          "width": 360
        }
      },
      "online_users": "12.9万次观看",
      "online_users_number": 129188,
      "ttl": 3600,
      "storage_type": "oss",
      "is_keep_current_mblog": 0,
      "author_info": {
        "id": 5371503934,
        "idstr": "5371503934",
        "pc_new": 7,
        "screen_name": "科技小凡",
        "profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.50/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409157&ssig=7uY0BWOyZK",
        "profile_url": "/u/5371503934",
        "verified": true,
        "verified_type": 0,
        "domain": "",
        "weihao": "",
        "verified_type_ext": 0,
        "status_total_counter": {
          "total_cnt_format": "1016.6万",
          "comment_cnt": "2,216,636",
          "repost_cnt": "579,559",
          "like_cnt": "7,370,019",
          "total_cnt": "10,166,214"
        },
        "avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409157&ssig=2Q5AXpBM9S",
        "avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.1024/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409157&ssig=4TTTc6qK8t",
        "follow_me": false,
        "following": false,
        "mbrank": 7,
        "mbtype": 12,
        "v_plus": 0,
        "user_ability": 3425800,
        "planet_video": false,
        "verified_reason": "数码博主",
        "description": "商务合作品牌推广请私信",
        "location": "江苏",
        "gender": "f",
        "followers_count": 3094273,
        "followers_count_str": "309.4万",
        "friends_count": 93,
        "statuses_count": 1418,
        "url": "",
        "svip": 0,
        "vvip": 0,
        "cover_image_phone": "https://wx3.sinaimg.cn/crop.0.0.640.640.640/005Rwhyely1gf95zzq1xaj30u00u0thf.jpg"
      },
      "playback_list": [
        {
          "meta": {
            "label": "mp4_1080p",
            "quality_index": 1080,
            "quality_desc": "高清",
            "quality_label": "1080p",
            "quality_class": "HD",
            "type": 1,
            "quality_group": 1080,
            "is_hidden": false
          },
          "play_info": {
            "type": 1,
            "mime": "video/mp4",
            "protocol": "general",
            "label": "mp4_1080p",
            "url": "https://f.video.weibocdn.com/o0/KYKuZic7lx08nbo8E46I01041200XE9T0E010.mp4?label=mp4_1080p&template=1080x1920.24.0&media_id=5151364771414052&tp=8x8A3El:YTkl0eM8&us=0&ori=1&bf=4&ot=v&lp=00004SpAf&ps=mZ6WB&uid=zy4gBfk&ab=13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36&Expires=1744401957&ssig=S25HENmCcP&KID=unistore,video",
            "bitrate": 1844042,
            "prefetch_range": "0-613287",
            "video_codecs": "avc1.640032",
            "fps": 30,
            "width": 1080,
            "height": 1920,
            "size": 14215725,
            "duration": 61.671,
            "sar": "1.0",
            "audio_codecs": "mp4a.40.5",
            "audio_sample_rate": 44100,
            "quality_label": "1080p",
            "quality_class": "HD",
            "quality_desc": "高清",
            "audio_channels": 2,
            "audio_sample_fmt": "fltp",
            "audio_bits_per_sample": 0,
            "watermark": "original",
            "extension": {
              "transcode_info": {
                "pcdn_rule_id": 0,
                "pcdn_jank": 0,
                "origin_video_dr": "SDR",
                "ab_strategies": "13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36"
              }
            },
            "video_decoder": "hard",
            "prefetch_enabled": true,
            "tcp_receive_buffer": 262144,
            "dolby_atmos": false,
            "color_transfer": "bt709",
            "stereo_video": 0,
            "first_pkt_end_pos": 106437
          }
        },
        {
          "meta": {
            "label": "mp4_720p",
            "quality_index": 720,
            "quality_desc": "高清",
            "quality_label": "720p",
            "quality_class": "HD",
            "type": 1,
            "quality_group": 720,
            "is_hidden": false
          },
          "play_info": {
            "type": 1,
            "mime": "video/mp4",
            "protocol": "general",
            "label": "mp4_720p",
            "url": "https://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&media_id=5151364771414052&tp=8x8A3El:YTkl0eM8&us=0&ori=1&bf=4&ot=v&lp=00004SpAf&ps=mZ6WB&uid=zy4gBfk&ab=13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36&Expires=1744401957&ssig=Q0wAjgUNoW&KID=unistore,video",
            "bitrate": 1005996,
            "prefetch_range": "0-361542",
            "video_codecs": "avc1.64001f",
            "fps": 30,
            "width": 720,
            "height": 1280,
            "size": 7755230,
            "duration": 61.671,
            "sar": "1.0",
            "audio_codecs": "mp4a.40.5",
            "audio_sample_rate": 44100,
            "quality_label": "720p",
            "quality_class": "HD",
            "quality_desc": "高清",
            "audio_channels": 2,
            "audio_sample_fmt": "fltp",
            "audio_bits_per_sample": 0,
            "watermark": "original",
            "extension": {
              "transcode_info": {
                "pcdn_rule_id": 0,
                "pcdn_jank": 0,
                "origin_video_dr": "SDR",
                "ab_strategies": "13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36"
              }
            },
            "video_decoder": "hard",
            "prefetch_enabled": true,
            "tcp_receive_buffer": 262144,
            "dolby_atmos": false,
            "color_transfer": "bt709",
            "stereo_video": 0,
            "first_pkt_end_pos": 85343
          }
        },
        {
          "meta": {
            "label": "mp4_hd",
            "quality_index": 480,
            "quality_desc": "标清",
            "quality_label": "480p",
            "quality_class": "SD",
            "type": 1,
            "quality_group": 480,
            "is_hidden": false
          },
          "play_info": {
            "type": 1,
            "mime": "video/mp4",
            "protocol": "general",
            "label": "mp4_hd",
            "url": "https://f.video.weibocdn.com/o0/96tTMapelx08nbo71L0401041200khSw0E010.mp4?label=mp4_hd&template=540x960.24.0&media_id=5151364771414052&tp=8x8A3El:YTkl0eM8&us=0&ori=1&bf=4&ot=v&lp=00004SpAf&ps=mZ6WB&uid=zy4gBfk&ab=13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36&Expires=1744401957&ssig=Ug9XeCBxRP&KID=unistore,video",
            "bitrate": 627226,
            "prefetch_range": "0-248126",
            "video_codecs": "avc1.64001f",
            "fps": 30,
            "width": 540,
            "height": 960,
            "size": 4835288,
            "duration": 61.671,
            "sar": "1.0",
            "audio_codecs": "mp4a.40.5",
            "audio_sample_rate": 44100,
            "quality_label": "480p",
            "quality_class": "SD",
            "quality_desc": "标清",
            "audio_channels": 2,
            "audio_sample_fmt": "fltp",
            "audio_bits_per_sample": 0,
            "watermark": "original",
            "extension": {
              "transcode_info": {
                "pcdn_rule_id": 0,
                "pcdn_jank": 0,
                "origin_video_dr": "SDR",
                "ab_strategies": "13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36"
              }
            },
            "video_decoder": "hard",
            "prefetch_enabled": true,
            "tcp_receive_buffer": 262144,
            "dolby_atmos": false,
            "color_transfer": "bt709",
            "stereo_video": 0,
            "first_pkt_end_pos": 75219
          }
        },
        {
          "meta": {
            "label": "scrubber_hd",
            "quality_index": 480,
            "quality_desc": "标清",
            "quality_label": "480p",
            "quality_class": "SD",
            "type": 3,
            "quality_group": 480,
            "is_hidden": false
          },
          "play_info": {
            "type": 3,
            "mime": "image/jpeg",
            "protocol": "general",
            "label": "scrubber_hd",
            "url": "https://wx1.sinaimg.cn/large/005Rwhyely1i03n7044l4j60f07eoqcu02.jpg?media_id=5151364771414052&tp=8x8A3El:YTkl0eM8&us=0&ori=1&bf=4&ot=v&lp=00004SpAf&ps=mZ6WB&uid=zy4gBfk&ab=13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36&Expires=1744401957&ssig=MvZfOIcfao&KID=unistore,video",
            "prefetch_range": "0-512000",
            "width": 180,
            "height": 320,
            "quality_label": "480p",
            "quality_class": "SD",
            "quality_desc": "标清",
            "extension": {
              "transcode_info": {
                "pcdn_rule_id": 0,
                "pcdn_jank": 0,
                "origin_video_dr": "SDR",
                "ab_strategies": "13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36"
              }
            },
            "video_decoder": "hard",
            "prefetch_enabled": true,
            "tcp_receive_buffer": 262144,
            "col": 3,
            "row": 30,
            "interval": 1,
            "offset": 0.5,
            "urls": [
              "http://wx4.sinaimg.cn/large/005Rwhyely1i03n7044l4j60f07eoqcu02.jpg"
            ]
          }
        },
        {
          "meta": {
            "label": "mp4_ld",
            "quality_index": 360,
            "quality_desc": "流畅",
            "quality_label": "360p",
            "quality_class": "SD",
            "type": 1,
            "quality_group": 360,
            "is_hidden": false
          },
          "play_info": {
            "type": 1,
            "mime": "video/mp4",
            "protocol": "general",
            "label": "mp4_ld",
            "url": "https://f.video.weibocdn.com/o0/hLm0gPAHlx08nbo6AfT201041200aH7F0E010.mp4?label=mp4_ld&template=360x640.24.0&media_id=5151364771414052&tp=8x8A3El:YTkl0eM8&us=0&ori=1&bf=4&ot=v&lp=00004SpAf&ps=mZ6WB&uid=zy4gBfk&ab=13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36&Expires=1744401957&ssig=uQvl2mRe2u&KID=unistore,video",
            "bitrate": 330658,
            "prefetch_range": "0-156301",
            "video_codecs": "avc1.64001e",
            "fps": 30,
            "width": 360,
            "height": 640,
            "size": 2549047,
            "duration": 61.671,
            "sar": "1.0",
            "audio_codecs": "mp4a.40.5",
            "audio_sample_rate": 44100,
            "quality_label": "360p",
            "quality_class": "SD",
            "quality_desc": "流畅",
            "audio_channels": 2,
            "audio_sample_fmt": "fltp",
            "audio_bits_per_sample": 0,
            "watermark": "original",
            "extension": {
              "transcode_info": {
                "pcdn_rule_id": 0,
                "pcdn_jank": 0,
                "origin_video_dr": "SDR",
                "ab_strategies": "13038-g1,,8012-g2,8013-g0,3601-g39,3601-g36,3601-g39,3601-g36"
              }
            },
            "video_decoder": "hard",
            "prefetch_enabled": true,
            "tcp_receive_buffer": 262144,
            "dolby_atmos": false,
            "color_transfer": "bt709",
            "stereo_video": 0,
            "first_pkt_end_pos": 65019
          }
        }
      ]
    },
    "author_id": "5371503934",
    "authorid": "5371503934",
    "cards": [
      {
        "type": "11",
        "page_id": "2304445151364771414052",
        "object_type": "video",
        "object_id": "1034:5151364771414052",
        "content1": "科技小凡的微博视频",
        "content2": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1",
        "act_status": 1,
        "media_info": {
          "name": "科技小凡的微博视频",
          "stream_url": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "stream_url_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "format": "mp4",
          "h5_url": "https://video.weibo.com/show?fid=1034:5151364771414052",
          "mp4_sd_url": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "mp4_hd_url": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "h265_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "h265_mp4_ld": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "inch_4_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "inch_5_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "inch_5_5_mp4_hd": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "mp4_720p_mp4": "http://f.video.weibocdn.com/o0/i7bkiNR7lx08nbo68nmo01041200wxum0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=4ub7gI97adQ&Expires=1744401956&ssig=Q1RJLXPBPR&KID=unistore,video",
          "hevc_mp4_720p": "",
          "prefetch_type": 1,
          "prefetch_size": 262144,
          "act_status": 1,
          "protocol": "general,dash",
          "media_id": "5151364771414052",
          "origin_total_bitrate": 2067982,
          "video_orientation": "vertical",
          "duration": 61,
          "forward_strategy": -1,
          "search_scheme": "sinaweibo://svssearch?containerid=232080",
          "is_short_video": 0,
          "vote_is_show": 0,
          "belong_collection": 0,
          "titles_display_time": "3",
          "show_progress_bar": 1,
          "show_mute_button": true,
          "ext_info": {
            "video_orientation": "vertical"
          },
          "next_title": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1",
          "kol_title": "小米磁吸镜头这次需要做对什么？先看下它的前世情人QX1",
          "play_completion_actions": [
            {
              "type": "1",
              "icon": "https://h5.sinaimg.cn/upload/100/1413/2021/12/22/feed_video_icon_replay.png",
              "text": "重播",
              "link": "",
              "btn_code": 1000,
              "show_position": 1,
              "actionlog": {
                "oid": "2304445151364771414052",
                "act_code": 1221,
                "act_type": 0,
                "source": "video"
              }
            },
            {
              "type": 6,
              "icon": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/005Rwhyely8hzfgj3mce6j60u00u0q7c02.jpg?KID=imgbed,tva&Expires=1744409156&ssig=XnN1r%2FgLpA",
              "text": "",
              "display_mode": 2,
              "display_starttime": 5,
              "display_endtime": 99999,
              "countdown_time": 5,
              "show_position": 48,
              "scheme": "",
              "link": "",
              "btn_code": 1009,
              "actionlog": {
                "oid": "2304445151364771414052",
                "act_code": 91,
                "act_type": 0,
                "source": "video",
                "ext": "mid:5151365102571654|oid:1034:5151364771414052|muid:5371503934|authorid:5371503934"
              },
              "ext": {
                "uid": "5371503934",
                "user_name": "科技小凡",
                "followers_count": 3094281,
                "verified": true,
                "verified_type": 0,
                "verified_reason": "数码博主",
                "level": 3
              },
              "display_type": 0
            }
          ],
          "video_publish_time": 1743664546,
          "play_loop_type": 0,
          "author_mid": "5151365102571654",
          "author_name": "科技小凡",
          "extra_info": {
            "sceneid": "feed"
          },
          "video_download_strategy": {
            "abandon_download": 0
          },
          "jump_to": 6,
          "big_pic_info": {
            "pic_big": {
              "height": 1920,
              "url": "https://wx2.sinaimg.cn/orj1080/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
              "width": 1080
            },
            "pic_small": {
              "height": 320,
              "url": "https://wx2.sinaimg.cn/or180/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
              "width": 180
            },
            "pic_middle": {
              "height": 640,
              "url": "https://wx2.sinaimg.cn/or360/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
              "width": 360
            }
          },
          "online_users": "12.9万次观看",
          "online_users_number": 129188,
          "ttl": 3600,
          "storage_type": "oss"
        },
        "page_pic": "https://wx2.sinaimg.cn/orj480/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
        "page_title": "科技小凡的微博视频",
        "page_url": "sinaweibo://infopage?containerid=2304445151364771414052&containerid=2304445151364771414052&url_type=39&object_type=video&pos=2",
        "pic_info": {
          "pic_big": {
            "height": "960",
            "url": "https://wx2.sinaimg.cn/orj480/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
            "width": "540"
          },
          "pic_small": {
            "height": "960",
            "url": "https://wx2.sinaimg.cn/orj480/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
            "width": "540"
          },
          "pic_middle": {
            "url": "https://wx2.sinaimg.cn/orj480/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
            "height": "960",
            "width": "540"
          }
        },
        "oid": "5371503934",
        "type_icon": "",
        "author_id": "5371503934",
        "authorid": "5371503934",
        "warn": "",
        "actionlog": {
          "act_type": 1,
          "act_code": 799,
          "lcardid": "",
          "fid": "102803_ctg1_4988_-_ctg1_4988",
          "mid": "5151365102571654",
          "oid": "1034:5151364771414052",
          "uuid": 5151364832559156,
          "source": "video",
          "ext": "uid:2019219823498|mid:5151365102571654|objectid:1034%3A5151364771414052|from:1|object_duration:61.671|miduid:5371503934|rootuid:5371503934|rootmid:5151365102571654|authorid:5371503934|video_orientation:vertical|third_vid:|is_album:0|is_contribution:0|video_tags:|isfan:0|ua:Mozilla/5.0 (Macintosh%3B Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 WeiboPro/1.0.0|sceneid:feed|uuid:5151364832559156|detail:native|contribution:0|short_video:0|st_video:1|author_mid:5151365102571654|cluster_type_status:|is_ad_weibo:0|analysis_card:page_info"
        }
      },
      {
        "type": 34,
        "page_id": "2304445151364771414052",
        "object_type": "video",
        "page_desc": "数码综合 · 12.9万次观看",
        "oid": "5371503934",
        "page_title": "数码综合 · 12.9万次观看",
        "page_pic": "https://wx2.sinaimg.cn/orj480/005Rwhyegy1i03n6mxnj0j60u01hcteb02.jpg",
        "type_icon": "",
        "page_url": "sinaweibo://video/vvs?sceneid=feed&object_id=1034:5151364771414052&mid=5151365102571654&log_ext=is_contribution%3A%7Cfirst_level_channel_id%3A%7Csecond_level_channel_id%3A&url_type=39&object_type=video&pos=2",
        "object_id": "1034:5151364771414052",
        "author_id": "5371503934",
        "authorid": "5371503934",
        "is_broadcast": 1,
        "icon_url": "https://h5.sinaimg.cn/upload/1000/1327/2021/01/20/videofeed_album_icon.png",
        "withPlayCount": true,
        "ext": "is_contribution:|first_level_channel_id:|second_level_channel_id:",
        "actionlog": {
          "act_type": 1,
          "act_code": "3457",
          "oid": "1034:5151364771414052",
          "uuid": 5151364832559156,
          "cardid": "",
          "lcardid": "",
          "uicode": "",
          "luicode": "",
          "fid": "",
          "lfid": "",
          "ext": "mid:5151365102571654|rid:0_0_0_5246608259248012843_0_0_0|short_url:http://t.cn/A6r5zFzx|long_url:https://video.weibo.com/show?fid=1034:5151364771414052|comment_id:|miduid:5371503934|rootmid:5151365102571654|rootuid:5371503934|authorid:5371503934|uuid:5151364832559156|is_ad_weibo:0|is_contribution:|first_level_channel_id:|second_level_channel_id:|play_page:playlist|analysis_card:page_info"
        }
      }
    ],
    "actionlog": {
      "act_type": 1,
      "act_code": 799,
      "lcardid": "",
      "fid": "102803_ctg1_4988_-_ctg1_4988",
      "mid": "5151365102571654",
      "oid": "1034:5151364771414052",
      "uuid": 5151364832559156,
      "source": "video",
      "ext": "uid:2019219823498|mid:5151365102571654|objectid:1034%3A5151364771414052|from:1|object_duration:61.671|miduid:5371503934|rootuid:5371503934|rootmid:5151365102571654|authorid:5371503934|video_orientation:vertical|third_vid:|is_album:0|is_contribution:0|video_tags:|isfan:0|ua:Mozilla/5.0 (Macintosh%3B Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 WeiboPro/1.0.0|sceneid:feed|uuid:5151364832559156|detail:native|contribution:0|short_video:0|st_video:1|author_mid:5151365102571654|cluster_type_status:|is_ad_weibo:0|analysis_card:page_info"
    },
    "short_url": "http://t.cn/A6r5zFzx"
  },
  "followBtnCode": {
    "uid": 5371503934,
    "followcardid": "1028030063_5151365102571654"
  }
}
```

### 🔹 Benefits

✅ Automate Weibo data collection for research, analytics, or apps.

✅ Compatible with both personal and trending feeds.

✅ Ready-to-use structured JSON for immediate integration.

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `url` (type: `string`):

Search url to extract posts listings from

## `max_results` (type: `integer`):

Maximum number of posts listing extracted (0 = no limit)

## `proxyConfiguration` (type: `object`):

allow for ip rotation

## Actor input object example

```json
{
  "url": "https://weibo.com/newlogin?tabtype=weibo&gid=1028034988&openLoginLayer=0&url=https%3A%2F%2Fwww.weibo.com%2F",
  "max_results": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://weibo.com/newlogin?tabtype=weibo&gid=1028034988&openLoginLayer=0&url=https%3A%2F%2Fwww.weibo.com%2F",
    "max_results": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": []
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/weibo-feed-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "url": "https://weibo.com/newlogin?tabtype=weibo&gid=1028034988&openLoginLayer=0&url=https%3A%2F%2Fwww.weibo.com%2F",
    "max_results": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/weibo-feed-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://weibo.com/newlogin?tabtype=weibo&gid=1028034988&openLoginLayer=0&url=https%3A%2F%2Fwww.weibo.com%2F",
  "max_results": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}' |
apify call saswave/weibo-feed-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=saswave/weibo-feed-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yl7KezNySyvCdVvix/builds/jqF3ETXvidOF2Z6Ck/openapi.json
