c# - 获取每个 URL 目录
问题描述
我想在一个 url 中列出每个目录和子目录,类似于 Directory.GetFiles,但带有一个 url。例如,如果我有网站https://www.website.com/,列表可能看起来像
https://www.website.com/something
https://www.website.com/something/somethingElse
https://www.website.com/anotherthing/
https://www.website.com/thisthing/
有什么办法可以做到这一点吗?
解决方案
推荐阅读
- spring-boot - 如何在 SpringBootApplication 中的 MyBatis 映射之前启动 Liquibase 迁移?
- spring - kafka消费者消息不消费一些消息
- postgresql - 当只在表中完成插入时,估计的行数是否准确?
- api - 使用 Sequelize 的简单选择语句
- machine-learning - 如何为使用 KFold CV 训练的分类模型绘制 ROC 和 PR 曲线
- uwp - 如何确保视频效果显示在 MediaComposition 的叠加层之上
- flutter - Flutter“提示文本”动画
- python - AttributeError:“dict”对象没有属性“splits”
- python - 使用 Selenium 访问路由器
- javascript - 如何将 mat-datepicker-toggle 与共享模块一起使用?