Code Monkey home page Code Monkey logo

ctfileget's Introduction

ctfileget's People

Contributors

angrylid avatar qinlili23333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ctfileget's Issues

無法使用

1651287179188

如果要通用碼的話再麻煩大大提供,
感謝

关于解析出的下载地址

请问为什么请求get_file_url.php这个接口,有时候解析出来的是93-cucc-dd.tv002.com开头的正常下载链接,有时候是88-cucc-dd.tv002.com/101.69.122.88:443,而不是正常的下载链接

优化获取参数的方式

改自城通网盘js init_load函数 js链接 https://webstatic.ctfile.com/assets/js/other.js?v=20230326
function init_load(link) {
var path = link.split("/");

if (link.indexOf("http") == 0) {
path = link.replace(/^https?://[^\/]+/, "");
}

if (path.length < 3) {
alert("输入链接有误");
}

//获取路径
const filequery = path[2];

if (path[1].indexOf("f") == 0) {
//获取为f还是file
const downmode = path[1];
} else if (path[1].indexOf("d") == 0) {
//获取为d 还是dir
//后续可适配文件夹 请求示例 https://webapi.ctfile.com/getdir.php?path=d&amp;d=22501768-43505866-63382a&amp;folder_id=48146041&amp;passcode=&amp;token=z0frr5qswd0ck9cyjfyc99&amp;r=0.08619336840076208&amp;ref=
const downmode = path[1];
alert("不支持查看文件夹 请换为文件链接");
return;
} else{
alert("输入网页错误 请重试");
return;
}
}

速度不行啊

这个是不是只能解析出来下载地址?不是会员的直链地址吧。下载速度只有50K.。以前有个能解析直链地址的,速度能达到3-5M.

出错了,错误原因是:undefined

链接: http://ct.jamcz.com/f/tempdir-A2BYbVViC2MHNAVlV2BUPgItU2dSZAozAGhVMAVhAjsLYwI0Un0PZlVhBmcIOQBjBDMMPwExCzMPZg
无密码.

图像 002

错误提示: 出错了,错误原因是:undefined

图像 003

控制台日志:

{
    success: false, 
    name: '子系统助手_V1.0.zip', 
    size: '2.72 MB', 
    time: '2022-04-14', 
    errormsg: undefined
}

网络请求:

{
	"code":200,
	"file":{
		"follow_link":"https://www.ctfile.com/p/login?ref=https%3A%2F%2Fapp.ctfile.com%2F%23%2Fcommunity%2Ffriends%3Fuid%3D22501768",
		"popad":5,
		"is_userself":0,
		"link_protected":0,
		"file_name":"子系统助手_V1.0.zip",
		"file_size":"2.72 MB",
		"file_time":"2022-04-14",
		"file_views":1403,
		"username":"11CZsoftware",
		"email":"11313*****@qq.com",
		"page_title":"子系统助手_V1.0.zip - 11CZsoftware 的分享",
		"reg_url":"https://www.ctfile.com/tokenGo.php?token=false&url=https%3A%2F%2Fwww.ctfile.com%2Fp%2Fregister",
		"login_url":"https://www.ctfile.com/tokenGo.php?token=false&url=https%3A%2F%2Fwww.ctfile.com%2Fp%2Flogin",
		"home_url":"https://www.ctfile.com/tokenGo.php?token=false&url=https%3A%2F%2Fhome.ctfile.com",
		"web_url":"https://www.ctfile.com/tokenGo.php?token=false&url=https%3A%2F%2Fwww.ctfile.com",
		"userid":22501768,
		"file_id":568221591,
		"free_speed":"1 分钟 ",
		"software_speed":"23 秒",
		"vip_speed":"0 秒",
		"my_uid":0,
		"is_guest":true,
		"my_username":"",
		"is_mb":0,
		"doubleclick_url":"https://doubleclick.ctfile.com/?adv&advert&mod=cpv&act=add&uid=22501768&fid=568221591&t=1660152590&k=dace9d77ddadcf251abe6d74ea8f685d&ref=https%3A%2F%2Fctfile.qinlili.bid",
		"file_chk":"44773cb619066f940b9a6519ba3d6046",
		"groups_price":{
			"10":590,
			"13":1490,
			"14":2980
		}
	},
	"lang":{
		"一堆": "没用的东西"
	}
}

请问怎么获取城通文件ID啊?

我的诚同链接里没有那些数字,这个id要如何获取啊?能麻烦告知吗?感激不尽
我找到一个连接,把最后的数字输入之后显示下载不可用,估计这个不是文件id,能不能请您教一下如何获取文件id
屏幕快照 2023-04-07 下午6 28 32

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.