Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't download instagram videos #12777

Closed
kiendy opened this issue Apr 18, 2017 · 6 comments
Closed

can't download instagram videos #12777

kiendy opened this issue Apr 18, 2017 · 6 comments
Labels

Comments

@kiendy
Copy link

@kiendy kiendy commented Apr 18, 2017

youtube-dl -f '[ext=mp4]' --batch-file='baby.txt'
[Instagram] BHgBH0Sh523: Downloading webpage
WARNING: unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/init.py", line 464, in main
_real_main(argv)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/init.py", line 454, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1896, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 760, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 429, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/instagram.py", line 206, in _real_extract
'comments': comments,
UnboundLocalError: local variable 'comments' referenced before assignment
root@vps393873:~/

i try update youtube-dl "sudo pip install --upgrade youtube-dl"
after the update is complete, I am still having the same problem.
few weeks ago I did not experience this problem

sorry my english bad
and sorry if I'm wrong because im new here
thanks

@raminious
Copy link

@raminious raminious commented Apr 18, 2017

same issue. Instagram extraction has been broken

@dprski33
Copy link

@dprski33 dprski33 commented Apr 18, 2017

ditto

@yan12125 yan12125 added the broken-IE label Apr 18, 2017
@dstftw dstftw closed this in 18848d2 Apr 18, 2017
@dprski33
Copy link

@dprski33 dprski33 commented Apr 18, 2017

@dstftw Can you let us know when we can expect this fix available?

@Hrxn
Copy link

@Hrxn Hrxn commented Apr 18, 2017

If you need it immediately, run or install it directly from source.

@nnact
Copy link

@nnact nnact commented Apr 20, 2017

@Hrxn Could you show me how to run or install this lib from source code please? I need this fix. Thank you.

@Hrxn
Copy link

@Hrxn Hrxn commented Apr 20, 2017

Either way, you first need Python for your OS.

Then, grab the source via git or by clicking that green 'clone or download' button to get the source archive file.

Extract, navigate to the target directory and run python setup.py install or run it from the same location with python youtube_dl/__init__.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.