-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
Description
Given a url https://soundcloud.com/vvv/faded-inscription-feat-bvitae, the following error is raised: ValueError: invalid literal for int() with base 10: '100%'.
The underlying issue seems to be that soundcloud's oembed implementation[0] differs from the spec[1], and they return a string which cannot be coerced to an int.
They return 100% for the width field, unfortunately the respective field on the fluent-contents model is an IntegerField and the coercing fails.
[0] https://developers.soundcloud.com/docs/oembed#introduction
[1] http://oembed.com/#section2 2.3.4.4. The rich type