getmd.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!doctype html><html lang="zh-CN"><head>
  2. <meta charset="utf-8">
  3. <meta name="viewport" content="width=device-width, initial-scale=1">
  4. <meta name="keywords" content="批量网址转Markdown,开源WebAIP,开源IP定位,IP地址查询,极速批量IP地址查询,IP地址精确查询,IP精准定位,高精度IP定位,国外IP定位">
  5. <link rel="icon" href="/logo/favicon.png" type="image/png">
  6. <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" >
  7. <title>262235.xyz/getmd | 批量网址转Markdown</title>
  8. <style type="text/css">
  9. body { background-color: #f5f5f5;
  10. font-family: "PingFang SC", "Helvetica Neue", "Helvetica", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; }
  11. .main { max-width: 950px; padding: 19px 29px 29px; margin: 0 auto 20px; background-color: #fff;
  12. border: 1px solid #e5e5e5; -webkit-border-radius: 5px; -moz-border-radius: 5px;
  13. border-radius: 5px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  14. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  15. .f14 {font-size: 0.875em; /* 14px/16=0.875em */}
  16. </style>
  17. </head>
  18. <body>
  19. {% include 'navbar.html' %}
  20. <div class="main">
  21. {% if urls %}
  22. <legend><h3><button type="button" class="btn btn-outline-success btn-sm">262235.xyz/getmd</button> 批量网址转Markdown: <a class="btn btn-warning btn-sm" href="/getmd/">返回输入网址</a></h3></legend>
  23. <textarea type="text" name ="urls" cols=120 rows=5 class="form-control f14">{{ urls }}</textarea>
  24. {% else %}
  25. <form action="/getmd/" method="post">
  26. <legend><h3><button type="button" class="btn btn-outline-success btn-sm">262235.xyz/getmd</button> 批量网址转Markdown: <a class="btn btn-info btn-sm" href="/">返回主页</a></h3></legend>
  27. <textarea type="text" name ="urls" cols=120 rows=15 class="form-control f14" placeholder="示例输入: # Pthon 爬虫WebAPI版: 批量网址转Markdown
  28. https://262235.xyz/index.php/archives/584/"></textarea>
  29. <h3 ><button type="button" class="btn btn-outline-danger btn-sm">输入PASSKEY每次抓取5篇文章, PASSKEY:</button>&nbsp;&nbsp;{{ passkey }}</h3>
  30. <input type="text" id="inputPassword" name='passkey' class="form-control" placeholder="PASSKEY" required>
  31. <br>
  32. <button class="btn btn-primary" type="submit">确认抓取Markdown</button>
  33. </form>
  34. {% endif %}
  35. {% if texts %}
  36. <div class="alert-success"><h3 style="text-align:center;">getmd 抓取Markdown文本 </h3></div>
  37. <textarea type="text" name ="texts" cols=120 rows=30 class="form-control f14">{{ texts }}</textarea>
  38. {% endif %}
  39. </div>
  40. <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" ></script>
  41. </body></html>