m9ebah/snapchat-scraper-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

m9ebah/snapchat-scraper-php

Composer 安装命令:

composer require m9ebah/snapchat-scraper-php

包简介

PHP library for downloading public Snapchat stories.

README 文档

README

Build License Repo Size Open Issues GitHub stars

📸 Project Description | وصف المشروع:

Snapchat Scraper PHP Library is a PHP library designed to scrape public Snapchat stories. The library allows you to retrieve media content (images and videos) along with timestamps from publicly available Snapchat stories, without affecting privacy or accessing private content.
مكتبة Snapchat Scraper PHP Library هي مكتبة PHP مصممة لاستخراج القصص العامة من سناب شات. تتيح لك المكتبة جلب محتوى الوسائط (صور وفيديوهات) مع التواريخ الزمنية من القصص العامة المتاحة على سناب شات فقط، دون التأثير على الخصوصية أو الوصول إلى المحتوى الخاص.

🚀 Installation Steps | خطوات التثبيت:

1. Install the Library using Composer | تثبيت المكتبة باستخدام Composer:

composer require m9ebah/snapchat-scraper-php

⚙️ How to Use the Library | كيفية استخدام المكتبة:

1. Initialize the Client and Scraper | تهيئة العميل والمكتبة:

<?php

require 'vendor/autoload.php';

use SnapchatScraper\Clients\HttpClient;
use SnapchatScraper\StoryDownloader;
use SnapchatScraper\SnapchatScraper;

// Initialize the client
$httpClient = new HttpClient();

// Specify where to save the downloaded files
$downloadDirectory = __DIR__ . DIRECTORY_SEPARATOR . 'downloads';

// Prepare the story download library
$storyDownloader = new StoryDownloader($downloadDirectory);

// Configure the main library
$scraper = new SnapchatScraper($httpClient, $storyDownloader);

// Specify the user name
$username = 'example_user';  // Example of a username

// Fetch Snapchat data
$snapchatData = $scraper->getSnapchatData($username);

// Fetch stories
$stories = $snapchatData['stories'];

// If there are stories, upload them.
if (!empty($stories)) {
    echo "Loading stories...\n";
    $storyDownloader->download($stories);
    echo "Stories uploaded successfully.\n";
} else {
    echo "There are no stories for this user.\n";
}

📸 Example Output | مثال على المخرجات:

The library will download media files (images and videos) for the given username and save them to the specified downloads folder.
المكتبة ستقوم بتنزيل الملفات الوسائط (صور وفيديوهات) لاسم المستخدم المحدد وحفظها في مجلد downloads.

🤝 Contribution | المساهمة:

We welcome all contributions to improve the library. You can open an Issue or submit a Pull Request.
نرحب بجميع المساهمات لتحسين المكتبة. يمكنك فتح مشكلة (Issue) أو إرسال طلب سحب (Pull Request).

m9ebah/snapchat-scraper-php 适用场景与选型建议

m9ebah/snapchat-scraper-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 7, 最近一次更新时间为 2025 年 03 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 m9ebah/snapchat-scraper-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 m9ebah/snapchat-scraper-php 我们能提供哪些服务?
定制开发 / 二次开发

基于 m9ebah/snapchat-scraper-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 19
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-03-26