Comments (7)
@bk111 They aren't invalid characters, you just need to quote the path or escape them properly if you want powershell to not interpret them as code. The problem isn't with yt-dlp, it's with you not telling PowerShell that it should treat them as just text and not code.
from yt-dlp.
I don't understand. Can you explain your issue please?
from yt-dlp.
I don't understand. Can you explain your issue please?
'[' or ']' in PowerShell of windows cannot be used as a filename. and it will lead a failure in VScode.
PowerShell>mkdir 1[1]
PowerShell>cd 1[1]
cd : Cannot find path '1[1]' because it does not exist.
At line:1 char:1
- cd 1[1]
-
+ CategoryInfo : ObjectNotFound: (1[1]:String) [Set-Location], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
from yt-dlp.
How is that a question about yt-dlp?
from yt-dlp.
How is that a question about yt-dlp?
Can you guys add the [] in '--restrict-filenames' and bypass them?
from yt-dlp.
@bk111 In particular look for parameters like -LiteralPath in the cmdlets you're using, []
has a wildcard effect if you're not using literal paths
from yt-dlp.
Can you guys add the [] in '--restrict-filenames' and bypass them?
from yt-dlp.
Related Issues (20)
- 10play - Website code changed breaks support HOT 3
- WARNING: failed to decrypt with DPAPI-----ERROR: 'NoneType' object has no attribute 'decode' HOT 14
- I'd like to print timestamps and the date to the screen [terminal o/p] before starting & after finishing the download. How do I do it?
- Fails to utilize proxy HOT 2
- yt-dlp & SponsorBlock troubles HOT 1
- Do you want to cut off the title if it's too long? HOT 1
- Why is no metadata being parsed as replacements at all? HOT 4
- Sign in to confirm you’re not a bot youtube music HOT 1
- [Youtube] "Downloading 0 items" when downloading from shorts tab HOT 1
- Has anyone gotten itvX to work? HOT 8
- [Abema] When a video is downloaded, it displays the message "お使いのデバイスでは視聴できないコンテンツです" and the actual video cannot be downloaded.
- Servus-TV no download anymore
- How do I batch-download files from the same site but with different formats? HOT 3
- EOF occurred in violation of protocol (_ssl.c:1131 HOT 1
- samplefocus broken (needs referer)
- ORF_ON: Split Chapter no longer working HOT 2
- Infinite downloaod progress from this site HOT 3
- Latest yt-dlp Nightly releases: Error creating child process. Access is denied. HOT 12
- Sen ISS livecam HOT 1
- 'Unable to extract yt initial data' in Seal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp.