-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TEDSubs to reflect the changes in TED website
- Loading branch information
1 parent
4df546c
commit 2d53536
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2d53536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the newer urls aren't properly parsed (ie https://www.ted.com/talks/hugh_herr_the_new_bionics_that_let_us_run_climb_and_dance). Any suggestions for how I could reformat the url to make it work in your script?
2d53536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a few hours I'll take a look at that and I'll say to you, thanks for report this!
2d53536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrewsweet I tested that url and works fine for me, what's the error that happend to you? Can you show me the traceback?
This is my output:
2d53536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Two modifications/corrections and one remark that new users might need (I did) for TedTalks.py:
Also, I did not manage to make the function "get_subs" work, but that doesn't matter ; and windows users must use
and
i.e. without python or python.exe.
Thanks for your work,
Loïs