吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 5630|回复: 23
收起左侧

[其他原创] 原创开源C#WinForm-某音播放

  [复制链接]
Hacker-无心 发表于 2020-2-25 14:54
本帖最后由 Hacker-无心 于 2020-2-29 20:25 编辑

由于在家实在无聊,天天刷抖音也便成了习惯,因为手机内存太小,网课软件太多,导致我不得不卸载抖音,但又想看视频,于是便开始利用我这新手技术开发了个抖音PC端,供自己使用,现在给大家开源,让大家学习一下,没有使用官方SDK,纯属抓包,登录的数据是我博客的数据,没有多大技术含量,
为了配合大家研究,附上fiddler的抖音数据包SAZ: https://www.lanzouj.com/i9ok2yj
这个Myblog.sln 是路径文件,框架.NET4.5,可执行文件路径bin\debug\



\bin\Debug\account.ini  账号密码储存地方
\bin\Debug\account_dyhc.ini  这个文件是获取到视频链接的
用的fiddler抓的数据包,登录成功就会跳转到播放界面,界面格外丑陋,刚刚接触C# 缺点很多,希望大家指教并一起学习








源码下载地址:https://www.lanzouj.com/i9rwtuh

视频展览:https://lzonel-public.oss-cn-beijing.aliyuncs.com/Rec%200007.mp4

运行时,提示“没有注册类”(0x80040154)百度经验参考https://jingyan.baidu.com/article/380abd0a20f7491d90192c2b.html
或者尝试下载这个我修改好的86版:https://www.lanzouj.com/i9qdhmh
20200225143600001.png
20200225143600002.png
20200225143600000.png
KXMA7ON{R8S]~5E)G97B`1J.png

播放界面

播放界面

免费评分

参与人数 4吾爱币 +4 热心值 +3 收起 理由
w92vv + 1 + 1 谢谢@Thanks!
西门金歌 + 1 期待有更好的作品出来!谢谢啦~
岔路ko + 1 + 1 http://aplayer.open.xunlei.com/ 需要安装SDK,楼主debug下的程序无法直.
coolcalf + 1 + 1 感谢发布原创作品,吾爱破解论坛因你更精彩!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

风中飘雪 发表于 2020-2-25 23:13
Hacker-无心 发表于 2020-2-25 20:56
https://jingyan.baidu.com/article/380abd0a20f7491d90192c2b.html
我发布的是源码,你可以自行修改, ...

还是出现同样错误。

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Runtime.InteropServices.COMException (0x80040154): 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))
   在 System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   在 System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   在 System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   在 System.Windows.Forms.AxHost.CreateInstance()
   在 System.Windows.Forms.AxHost.GetOcxCreate()
   在 System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
   在 System.Windows.Forms.AxHost.CreateHandle()
   在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   在 System.Windows.Forms.AxHost.EndInit()
   在 Myblog.Form_douyin.InitializeComponent() 位置 F:\Abc\Visual studio 2019\Myblog\Form4.Designer.cs:行号 90
   在 Myblog.Form_douyin..ctor() 位置 F:\Abc\Visual studio 2019\Myblog\Form4.cs:行号 23
   在 Myblog.Form1.Submit_button_Click(Object sender, EventArgs e) 位置 F:\Abc\Visual studio 2019\Myblog\Form1.cs:行号 46
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已加载的程序集 **************
mscorlib
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Myblog
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/Users/Administrator/Desktop/Debug/Myblog.exe
----------------------------------------
System.Windows.Forms
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
HttpHelper
    程序集版本:2.2.0.0
    Win32 版本:2.2.0
    基本代码:file:///C:/Users/Administrator/Desktop/Debug/HttpHelper.DLL
----------------------------------------
System.Configuration
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AxInterop.APlayer3Lib
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///C:/Users/Administrator/Desktop/Debug/AxInterop.APlayer3Lib.DLL
----------------------------------------
mscorlib.resources
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    程序集版本:4.0.0.0
    Win32 版本:4.6.1590.0 built by: NETFXREL2
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
双飞燕 发表于 2020-2-25 15:14
rose520rain 发表于 2020-2-25 15:03
maoxg 发表于 2020-2-25 15:03
有没有编译过后的版本
 楼主| Hacker-无心 发表于 2020-2-25 15:08
maoxg 发表于 2020-2-25 15:03
有没有编译过后的版本

里面有的 在bin\Debug\ 目录下
va80 发表于 2020-2-25 15:21
双飞燕 发表于 2020-2-25 15:14
能看海外版的就更好了 期待一下

需求+1,好东西
coolcalf 发表于 2020-2-25 15:30
ocx控件没注册,少了个文件
 楼主| Hacker-无心 发表于 2020-2-25 15:43
coolcalf 发表于 2020-2-25 15:30
ocx控件没注册,少了个文件

http://aplayer.open.xunlei.com/
我用的迅雷的SDK,你试试
西门金歌 发表于 2020-2-25 15:57
这个是热搜播放?区域播放?还是新发布的播放? 期待有更多的选择功能
 楼主| Hacker-无心 发表于 2020-2-25 16:02
西门金歌 发表于 2020-2-25 15:57
这个是热搜播放?区域播放?还是新发布的播放? 期待有更多的选择功能

我直接 抓的是那个 推荐按钮的数据包:,其他的还没弄...
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - 52pojie.cn ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2026-9-20 14:29

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表