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

Twitter: Unsupported URL #14270

Closed
RingoTheDog opened this issue Sep 19, 2017 · 1 comment
Closed

Twitter: Unsupported URL #14270

RingoTheDog opened this issue Sep 19, 2017 · 1 comment

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Sep 19, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.09.15. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.09.15

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl.py -v "https://twitter.com/i/web/status/910031516746514432"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://twitter.com/i/web/status/910031516746514432']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.09.15
[debug] Python version 3.5.1 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, ffprobe 3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 910031516746514432: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 910031516746514432: Downloading webpage
[generic] 910031516746514432: Extracting information
[redirect] Following redirect to https://mobile.twitter.com/i/nojs_router?path=/i/web/status/910031516746514432
[generic] 910031516746514432: Requesting header
[redirect] Following redirect to https://mobile.twitter.com/i/web/status/910031516746514432
[generic] 910031516746514432: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 910031516746514432: Downloading webpage
[generic] 910031516746514432: Extracting information
ERROR: Unsupported URL: https://mobile.twitter.com/i/web/status/910031516746514432
Traceback (most recent call last):
  File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 2964, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://mobile.twitter.com/i/web/status/910031516746514432


---

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: https://twitter.com/i/web/status/910031516746514432
- Single video: https://mobile.twitter.com/i/web/status/910031516746514432

(same video...similar result)

---

### Description of your *issue*, suggested solution and other information

Direct link to video does work, using generic extractor/FFMPEG:

https://video.twimg.com/ext_tw_video/910030238373089285/pu/pl/1280x720/Ckxc5Q4SjNkjNVw5.m3u8

Thanks
Ringo
@RingoTheDog
Copy link
Author

@RingoTheDog RingoTheDog commented Sep 19, 2017

The redirect page: https://mobile.twitter.com/i/nojs_router?path=/i/web/status/910031516746514432

contains a link to the URL: https://twitter.com/Prefet971/status/910031516746514432/video/1

`

[Direct] <a href="/hashtag/Maria?src=hash"data-query-source="hashtag_click"class="twitter-hashtag dir-ltr"dir="ltr">#Maria Le centre se trouve actuellement au sud de Basse-Terre. Restez confinés. Réfugiez-vous dans la pièce la + sûre. <a href="https://t.co/mwx01Rs4lo"data-pre-embedded="true"rel="nofollow"data-entity-id="910030238373089285"dir="ltr"data-url="https://twitter.com/Prefet971/status/910031516746514432/video/1"data-tco-id="mwx01Rs4lo"class="twitter_external_link dir-ltr tco-link has-expanded-path"target="_top"data-expanded-path="/Prefet971/status/910031516746514432/video/1">pic.twitter.com/mwx01Rs4lo

`

YouTube-DL downloades the video from this page correctly.

@gfabiano gfabiano mentioned this issue Sep 20, 2017
4 of 8 tasks complete
dstftw added a commit that referenced this issue Sep 22, 2017
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.

1 participant
You can’t perform that action at this time.