Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanding the URL Class #17

Closed
mih0001 opened this issue Dec 15, 2012 · 3 comments
Closed

Expanding the URL Class #17

mih0001 opened this issue Dec 15, 2012 · 3 comments
Assignees
Milestone

Comments

@mih0001
Copy link

mih0001 commented Dec 15, 2012

It would be nice to expand the class URL to include more data. Right now, it returns the 'url', but it would be nice to also get the 'media_url_https' and maybe a few other variables. URL only returns the twitter page, if you want to download the actual file, you will need media_url_https

You can see all of the options here under 'entities' 'media'

https://dev.twitter.com/docs/tweet-entities

@mih0001
Copy link
Author

mih0001 commented Dec 17, 2012

As a follow up, maybe what would be better is creating a Media Class

@ghost ghost assigned bear Jan 23, 2013
@MaurizioB
Copy link

I may be wrong, but looks like url is not always listed as media, as pointed in the example of the twitter api documentation linked above.
For "normal" urls we just need to add display_url and indices.

@jeremylow
Copy link
Collaborator

Fixed in 3.1 (probably earlier though)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants