Commit Graph

17821 Commits

Author SHA1 Message Date
lyz-code a0179a5b2f
Merge 0f371d9166 into 48c5663c5f 2020-10-22 17:59:26 +02:00
Toan Nguyen 48c5663c5f
[afreecatv] Fix typo (#26970) 2020-10-22 19:15:05 +07:00
Hannu Hartikainen 7d740e7dc7
[23video] Relax _VALID_URL (#26870) 2020-10-20 00:56:23 +07:00
Kevin O'Connor 4eda10499e
[utils] Don't attempt to coerce JS strings to numbers in js_to_json (#26851)
The current logic in `js_to_json` tries to rewrite octal/hex numbers to
decimal. However, when the logic actually happens the `"` or `'` have
already been trimmed off. This causes what were originally strings, that
happen to look like octal/hex numbers, to get rewritten to decimal and
returned as a number rather than a string.

In practive something like:

```js
{
  "0x40": "foo",
  "040": "bar",
}
```

would get rewritten as:

```json
{
  64: "foo",
  32: "bar
}
```

This is problematic since this isn't valid JSON as you cannot have
non-string keys.
2020-10-18 00:10:41 +07:00
Sergio Livi 605535776a
[ustream] Add support for video.ibm.com (#26894) 2020-10-17 23:14:46 +07:00
Felix Yan 1050e0d09f
[iqiyi] Fix typo (#26884) 2020-10-17 23:02:17 +07:00
Lyz 0f371d9166
[bandcamp] fix regexp for JSON matching on bandcamp 2020-09-24 11:08:04 +02:00
Lyz dfbdd74205
Merge branch 'bandcamp_update' of https://github.com/gilou/youtube-dl into gilou-bandcamp_update 2020-09-24 11:05:27 +02:00
Lyz ad1fcb938a
Merge branch 'master' into feature/bandcamp_user_support 2020-09-24 10:49:20 +02:00
Lyz 37c5f6b32c
remove debug tracing 2020-09-24 10:49:09 +02:00
Lyz 85e170e542
WIP: update mr 2020-09-24 10:49:09 +02:00
Lyz f43cf3a3d3
Revert trailing whitespace 2020-09-24 10:49:09 +02:00
Lyz 8a01c503ab
Change episode_id possition 2020-09-24 10:49:08 +02:00
Lyz fbeb7859fe
Fix merge request changes 2020-09-24 10:49:08 +02:00
Lyz 348635d527
Update BandcampUser extractor to match the webpage changes 2020-09-24 10:49:07 +02:00
Lyz f5afc50897
trigger CI 2020-09-24 10:49:07 +02:00
Lyz 70499a274f
Convert video_id from int to string 2020-09-24 10:49:07 +02:00
Lyz 8862774795
Fix regular expression 2020-09-24 10:49:06 +02:00
Lyz f69899d576
Added ie for tracks 2020-09-24 10:49:06 +02:00
Lyz a1a0490928
* Rewrite extraction logic
* Fix errors
2020-09-24 10:49:06 +02:00
Lyz 9cb8ca072d
Switched from format to % 2020-09-24 10:49:05 +02:00
Lyz 65302cebf1
Captured album element with album 2020-09-24 10:49:05 +02:00
Lyz 6f12f2a34b
Add BandcampWeeklyIE and BandcampIE to BandcampUser suitable method 2020-09-24 10:49:05 +02:00
Lyz 7d1605bc12
Add suitable method for BandcampUser 2020-09-24 10:49:04 +02:00
Lyz d0a1cb3ae6
Removed test if no albums exist 2020-09-24 10:49:04 +02:00
Lyz 57f736fbf6
Added _match_id 2020-09-24 10:49:03 +02:00
Lyz 16efa6ebcc
Capture non-greedy the album elements 2020-09-24 10:49:03 +02:00
Lyz e0a9e262ee
Switch from .format to % 2020-09-24 10:49:03 +02:00
Lyz 3d39e15e96
Remove trailing $ in VALID_URL 2020-09-24 10:49:02 +02:00
Lyz 65ba90f65c
Fix BandcampAlbum _VALID_URL regexp 2020-09-24 10:49:02 +02:00
Lyz db204d22d2
Correct BandcampUserIE regexp 2020-09-24 10:49:02 +02:00
Lyz d7a19b8e54
Merge master 2020-09-24 10:49:01 +02:00
Sergey M․ d65d89183f
[expressen] Add support for di.se (closes #26670) 2020-09-24 07:37:10 +07:00
Surkal 0c92f1e96b
[iprima] Improve video id extraction (#26507) (closes #26494) 2020-09-24 06:46:58 +07:00
Sergey M․ adae9e844b
[README.md] Fix autonumber sequence description (refs #26686) 2020-09-24 06:36:07 +07:00
Gilles Pietri 9c1f99402f [bandcamp] fix regexp for JSON matching on bandcamp 2020-09-23 23:14:01 +02:00
Sergey M․ c5764b3f89
[downloader/http] Properly handle missing message in SSLError (closes #26646) 2020-09-22 07:01:59 +07:00
Sergey M․ 0837992a22
[downloader/http] Fix access to not yet opened stream in retry 2020-09-22 06:44:14 +07:00
Sergey M․ b55715934b
release 2020.09.20 2020-09-20 12:30:45 +07:00
Sergey M․ bbc3b5b4bb
[ChangeLog] Actualize
[ci skip]
2020-09-20 12:24:32 +07:00
nixxo 1ca5f821c8
[redtube] Extend _VALID_URL (#26506) 2020-09-20 11:39:42 +07:00
Sergey M․ defc820b70
[twitch] Switch streams to GraphQL and refactor (closes #26535) 2020-09-20 10:05:00 +07:00
Sergey M․ 82ef02e936
[telequebec] Fix issues (closes #26368) 2020-09-19 07:56:00 +07:00
Patrick Dessalle b856b3997c
[telequebec] Add support for brightcove videos (closes #25833) 2020-09-19 07:52:57 +07:00
Sergey M․ cd85a1bb8b
[pornhub] Extract metadata from JSON-LD (closes #26614) 2020-09-19 06:34:34 +07:00
Sergey M․ ce5b904050
[extractor/common] Relax interaction count extraction in _json_ld 2020-09-19 06:33:17 +07:00
Sergey M․ ad06b99dd4
[extractor/common] Extract author as uploader for VideoObject in _json_ld 2020-09-19 06:13:42 +07:00
JChris246 540b9f5164
[pornhub] Fix view count extraction (#26621) (refs #26614) 2020-09-19 05:59:19 +07:00
Stefan Pöschel 6e65a2a67e
[downloader/hls] Fix incorrect end byte in Range HTTP header for media segments with EXT-X-BYTERANGE (#24512) (closes #14748)
The end of the byte range is the first byte that is NOT part of the to
be downloaded range. So don't include it into the requested HTTP
download range, as this additional byte leads to a broken TS packet and
subsequently to e.g. visible video corruption.

Fixes #14748.
2020-09-18 05:26:56 +07:00
Sergey M․ f8c7bed133
[extractor/common] Handle ssl.CertificateError in _request_webpage (closes #26601)
ssl.CertificateError is raised on some python versions <= 3.7.x
2020-09-18 03:41:16 +07:00