全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4380|回复: 26

[疑问] 这是哪个大佬的站,求源码,太喜欢了

  [复制链接]
发表于 2022-5-17 16:09:46 | 显示全部楼层 |阅读模式
https://www.1y.is/random/

以前的随机源码时单张照片的,这个是专辑随机,太喜欢了,求源码。
发表于 2022-5-18 01:33:46 | 显示全部楼层
KuYeHQ 发表于 2022-5-18 01:22
大佬,nb,源码呢?(。>∀

我这是换了自己的图片,自己搭建的话得换成自己的,我这可以给html和php的源码借鉴一下

这是html的
http://mm.hostloc.ltd/vm/vm.tar.gz

这是php的
  1. <?php  
  2. header('Content-Type:application/json; charset=utf-8');
  3. $f='1.txt'; //文件名
  4. $a=file($f); //把文件的所有内容获取到数组里面
  5. $n=count($a); //获得总行数
  6. $rnd=rand(0,$n); //产生随机行号
  7. $rnd_line=$a[$rnd]; //获得随机行
  8. echo "$rnd_line"; //显示结果
  9. ?>
复制代码


把标题和图片以json的形式写入txt

格式类似这样

  1. {"title":"ROSI NO.2354 Flesh-Colored Pantyhose","imgs":["https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/d.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-001.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-002.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-003.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-004.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-005.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-006.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-007.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-008.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-009.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-010.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-011.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-012.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-013.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-014.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-015.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-016.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-017.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-018.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-019.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-020.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-021.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-022.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-023.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-024.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-025.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-026.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-027.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-028.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-029.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-030.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-031.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-032.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-033.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-034.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-035.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-036.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-037.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-038.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-039.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-040.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-041.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-042.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-043.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-044.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-045.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-046.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-047.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-048.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-049.webp","https:\/\/www.1y.is\/wp-content\/uploads\/rosi_webp\/NO.2354\/rosi-2354-050.webp"]}
复制代码

发表于 2022-5-18 01:22:04 来自手机 | 显示全部楼层
etc小号 发表于 2022-5-18 01:19
花了点时间克隆了下,还挺简单的

html直接用它的,php的api自己写一下,图片换自己的,ok完事

大佬,nb,源码呢?(。>∀<。)
发表于 2022-5-18 01:19:44 | 显示全部楼层
花了点时间克隆了下,还挺简单的

html直接用它的,php的api自己写一下,图片换自己的,ok完事

http://mm.hostloc.ltd/vm/
 楼主| 发表于 2022-5-17 19:59:55 | 显示全部楼层
有大佬有源码没
发表于 2022-5-17 16:31:49 | 显示全部楼层
网站已收藏,有需要时再来爬
发表于 2022-5-17 16:35:54 | 显示全部楼层
https://whoisw.com/1y.is

不知道这个信息是真是假,如果是真,那就是老外弄的
发表于 2022-5-17 16:48:44 | 显示全部楼层
图片有点老了,都是20年的,不过可以试着爬一下
发表于 2022-5-17 16:50:46 | 显示全部楼层
超级无敌小马甲 发表于 2022-5-17 16:35
https://whoisw.com/1y.is

不知道这个信息是真是假,如果是真,那就是老外弄的

里面不是  address:      CN
发表于 2022-5-17 16:52:36 | 显示全部楼层
kucn 发表于 2022-5-17 16:50
里面不是  address:      CN

那还是国人 哈哈 找不到是谁
 楼主| 发表于 2022-5-17 17:31:28 | 显示全部楼层
etc小号 发表于 2022-5-17 16:48
图片有点老了,都是20年的,不过可以试着爬一下

我不是要图片。。。。图片好弄

我是想求源码
发表于 2022-5-17 17:57:24 | 显示全部楼层
萌新涨姿势了!

nb plus !!!

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-23 21:55 , Processed in 0.069772 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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