{"push_id":1248785175,"size":4,"distinct_size":4,"ref":"refs/heads/regdetect","head":"a35bb0b89cc57b1d0dcca9281c287f4c0684b6ad","before":"fbc44a185e559dbbf0b0325defb974646bb132f5","commits":[{"sha":"097eba019d0d5cab93e9ce66e1b727b782d48250","author":{"name":"phi","email":"85360fc985b3c9199013974e38b671604ca79068@163.com"},"message":"bug fix for extractor xiami.py\n\nBefore applying this patch, when downloading resources from xiami.com, it crashes with these:\r\nTraceback (most recent call last):\r\n  File \"/home/phi/.local/bin/youtube-dl\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/__init__.py\", line 433, in main\r\n    _real_main(argv)\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/__init__.py\", line 423, in _real_main\r\n    retcode = ydl.download(all_urls)\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py\", line 1786, in download\r\n    url, force_generic_extractor=self.params.get('force_generic_extractor', False))\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py\", line 691, in extract_info\r\n    ie_result = ie.extract(url)\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py\", line 347, in extract\r\n    return self._real_extract(url)\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/xiami.py\", line 116, in _real_extract\r\n    return self._extract_tracks(self._match_id(url))[0]\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/xiami.py\", line 43, in _extract_tracks\r\n    '%s/%s%s' % (self._API_BASE_URL, item_id, '/type/%s' % typ if typ else ''), item_id)\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py\", line 562, in _download_json\r\n    json_string, video_id, transform_source=transform_source, fatal=fatal)\r\n  File \"/home/phi/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py\", line 568, in _parse_json\r\n    return json.loads(json_string)\r\n  File \"/usr/lib/python3.5/json/__init__.py\", line 312, in loads\r\n    s.__class__.__name__))\r\nTypeError: the JSON object must be str, not 'NoneType'\r\n\r\nThis patch solves exactly this problem.","distinct":true,"url":"https://api.github.com/repos/anisse/youtube-dl/commits/097eba019d0d5cab93e9ce66e1b727b782d48250"},{"sha":"409760a932ebd9d90d5566b86f2bdc4942672757","author":{"name":"Yen Chi Hsuan","email":"e2c423ee55b12f656c64d0b64b62350174f3393f@gmail.com"},"message":"Merge pull request #10342 from muphil/patch-1\n\n[xiami] bug fix for extractor xiami.py","distinct":true,"url":"https://api.github.com/repos/anisse/youtube-dl/commits/409760a932ebd9d90d5566b86f2bdc4942672757"},{"sha":"fafabc0712d95e6a5b2ac56e9375fe90060738f5","author":{"name":"Yen Chi Hsuan","email":"e2c423ee55b12f656c64d0b64b62350174f3393f@gmail.com"},"message":"Update ChangeLog for #10342\n\n[skip ci]","distinct":true,"url":"https://api.github.com/repos/anisse/youtube-dl/commits/fafabc0712d95e6a5b2ac56e9375fe90060738f5"},{"sha":"a35bb0b89cc57b1d0dcca9281c287f4c0684b6ad","author":{"name":"Anisse Astier","email":"0c507fffeb6bb4feb020ea75faecae7eaceff6aa@astier.eu"},"message":"[regdetect] Auto merge upstream","distinct":true,"url":"https://api.github.com/repos/anisse/youtube-dl/commits/a35bb0b89cc57b1d0dcca9281c287f4c0684b6ad"}]}
{"actor":{"display_login":"anisse"}}