国产成人视频 · text · 0 分 · 评论 0

李寻欢磁力合集 收藏备份版

本帖最後由 Honoria 於 2026-6-9 01:21 編輯

李寻欢车模之闺蜜篇 超分辨率增强 前篇,想找完李寻欢的合集视频,最好是原始分辨率的,就有了下面的磁力合集。当然还有没收录的可以讨论增添。




















本地磁力收藏工具(两个内容一样的,随便下那个都可以)
magnet:?xt=urn:btih:94c5b7d4994ad7899d7b243cf450faf66501a04bhttp://4275.com/x2hkby
使用方法如下图






发现一个bug,就是 Firefox 无法使用磁力导入和图片永久缓存。解决办法是删除 app.js 文件内 fetchMagnetInfo 函数的 'User-Agent' 字段。(记得 application/json 后面的逗号也要删除哦),downloadAndCacheImage 函数是把 headers 删除掉。
fetchMagnetInfo 函数:

downloadAndCacheImage 函数:

完整函数代码如下:    async fetchMagnetInfo(magnetUri) {
        try {
            if (!magnetUri.startsWith('magnet:?xt=urn:btih:')) {
                throw new Error('无效的磁力链接格式');
            }
            const apiUrl = `https://whatslink.info/api/v1/link?url=${encodeURIComponent(magnetUri)}`;
            console.log('API请求URL:', apiUrl);

            try {
                const response = await fetch(apiUrl, {
                    method: 'GET',
                    headers: {
                        'Accept': 'application/json'
                    },
                    mode: 'cors'
                });

                console.log('API响应状态:', response.status);

                if (!response.ok) {
                    throw new Error(`API 请求失败: ${response.status} ${response.statusText}`);
                }

                const data = await response.json();
                console.log('API响应数据:', data);

                // 检查是否为错误响应
                if (this.isErrorResponse(data)) {
                    const errorMsg = this.getErrorMessage(data);
                    throw new Error(errorMsg);
                }

                // 正常响应数据验证
                if (!this.isValidMagnetData(data)) {
                    throw new Error('响应数据格式无效或不完整');
                }

                return { success: true, data: data };
            } catch (fetchError) {
                // 如果CORS失败,提供更友好的错误信息
                if (fetchError.name === 'TypeError' && fetchError.message.includes('Failed to fetch')) {
                    throw new Error('网络连接失败或CORS限制,请检查网络连接或使用支持CORS的浏览器。可以尝试在隐私模式下使用或离线测试。');
                }
                throw fetchError;
            }
        } catch (error) {
            console.error('获取磁力链接信息失败:', error);
            return { success: false, error: error.message, isRetryable: this.isRetryableError(error) };
        }
    }複製代碼    async downloadAndCacheImage(imageUrl) {
        try {
            // 验证图片URL的有效性
            if (!imageUrl || typeof imageUrl !== 'string' || imageUrl.trim() === '') {
                throw new Error('无效的图片URL');
            }

            // 检查是否为有效的HTTP/HTTPS URL
            if (!imageUrl.startsWith('http://') && !imageUrl.startsWith('https://')) {
                throw new Error('图片URL必须以http://或https://开头');
            }

            // 先检查缓存
            const cachedData = await this.getCachedImage(imageUrl);
            if (cachedData) {
                console.log('使用缓存图片:', imageUrl);
                return cachedData; // 直接返回base64数据
            }

            console.log('开始下载图片:', imageUrl);
            // 下载图片
            const response = await fetch(imageUrl, {
                method: 'GET',
                mode: 'cors'
            });

            if (!response.ok) {
                throw new Error(`图片下载失败: ${response.status} ${response.statusText}`);
            }

            const blob = await response.blob();

            // 验证下载的内容是否为有效图片
            if (!this.isValidImageBlob(blob)) {
                throw new Error('下载的内容不是有效的图片');
            }

            // 保存到缓存(不压缩)
            await this.saveCachedImage(imageUrl, blob);

            // 返回base64数据
            const base64Data = await this.blobToDataUrl(blob);
            console.log('图片缓存成功:', imageUrl);
            return base64Data;
        } catch (error) {
            // 对不同类型的错误进行分类处理
            if (error.name === 'TypeError' && error.message.includes('CORS')) {
                console.warn(`图片CORS错误,使用原始URL: ${imageUrl}`, error);
            } else if (error.name === 'TypeError' && error.message.includes('fetch')) {
                console.warn(`图片网络错误,使用原始URL: ${imageUrl}`, error);
            } else {
                console.warn(`图片缓存失败,使用原始URL: ${imageUrl}`, error.message);
            }
            // 如果缓存失败,返回原始 URL
            return imageUrl;
        }
    }複製代碼







评论 (0)

登录 后参与讨论。

还没有评论,来抢沙发吧。