Repository: youtube-dl
Issue: [pbs] Add support for pbslearningmedia.org domain
Labels: site-support-request

## 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 that [x])
- Use *Preview* tab to see how your issue will actually look like

---

### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2017.01.14*. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
- [x] I've **verified** and **I assure** that I'm running youtube-dl **2017.01.14**

### Before submitting an *issue* make sure you have:
- [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones

### What is the purpose of your *issue*?
- [ ] Bug report (encountered problems with youtube-dl)
- [x] 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 `-v` flag to **your command line** you run youtube-dl with, 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 -v 'http://ny.pbslearningmedia.org/resource/ham16.soc.ushis.foundingfathers/hamiltons-america-reconciling-history-the-founding-fathers'
[debug] System config: []
[debug] User config: [u'-x', u'--audio-format', u'mp3', u'--no-mtime', u'-o', u'~/Downloads/%(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://ny.pbslearningmedia.org/resource/ham16.soc.ushis.foundingfathers/hamiltons-america-reconciling-history-the-founding-fathers']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.14
[debug] Python version 2.7.10 - Darwin-16.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2
[debug] Proxy map: {}
[generic] hamiltons-america-reconciling-history-the-founding-fathers: Requesting header
[redirect] Following redirect to http://ny.pbslearningmedia.org/resource/ham16.soc.ushis.foundingfathers/hamiltons-america-reconciling-history-the-founding-fathers/
[generic] hamiltons-america-reconciling-history-the-founding-fathers: Requesting header
WARNING: Falling back on generic information extractor.
[generic] hamiltons-america-reconciling-history-the-founding-fathers: Downloading webpage
[generic] hamiltons-america-reconciling-history-the-founding-fathers: Extracting information
ERROR: Unsupported URL: http://ny.pbslearningmedia.org/resource/ham16.soc.ushis.foundingfathers/hamiltons-america-reconciling-history-the-founding-fathers/
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1685, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 13, column 443
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 359, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2514, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://ny.pbslearningmedia.org/resource/ham16.soc.ushis.foundingfathers/hamiltons-america-reconciling-history-the-founding-fathers/
```

---

### 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: http://ny.pbslearningmedia.org/resource/ham16.soc.ushis.foundingfathers/hamiltons-america-reconciling-history-the-founding-fathers/
- Single video: https://indiana.pbslearningmedia.org/resource/shakespeare-sonnets-crashcourse-304/crash-course-literature-304/
- Single vide: https://indiana.pbslearningmedia.org/resource/nvmc.sci.space.drill/designing-for-drilling-on-mars/

Note that **youtube-dl does not support sites dedicated to [copyright infringement](https://github.com/rg3/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free)**. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

---

### Description of your *issue*, suggested solution and other information

I'm requesting that you add support for the PBS site/domain 'pbslearningmedia.org' -- some of these videos and clips are linked from other PBS sites but are only available at this domain. Looks like the site is using JW Player.