MrS0m30n3 / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
The Unlicense
9.3k stars 1.59k forks source link

trying to give url at run time #243

Closed monikarazdan closed 7 years ago

monikarazdan commented 7 years ago

[import shutil import os

u_input=int(input("enter url:"))

ydl_opts = {} url=(u_input) with youtube_dl.YoutubeDL(ydl_opts) as ydl: ydl.download(url) info_dict=ydl.extract_info(url[0], download=False) video_title = info_dict.get('title', None) print(video_title) print("DONE!") script_dir = os.path.dirname(os.path.realpath(file)) print(script_dir+"\" +video_title)](url)

nodiscc commented 7 years ago

@monikarazdan Hi, you didn't provide the info requested in the issue template. Please reopen an issue, don't delete the template text, and provide information where requested (check the appropriate boxes, include the full log). Without this information it is impossible to help you debug your problem :/ Thanks in advance

monikarazdan commented 7 years ago

sorry I'm new to github too, and I didn't get it clearly, can u brief it

nodiscc commented 7 years ago
  - [x] **I think** my problem is **NOT** with **youtube-dl**
...
- [x] Question