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

[Periscope] Account ripping falls back on generic (account dumping implimented?) #9388

Closed
vxbinaca opened this issue May 4, 2016 · 10 comments
Closed

Comments

@vxbinaca
Copy link
Contributor

@vxbinaca vxbinaca commented May 4, 2016

youtube-dl -v https://www.periscope.tv/FetishDollEmily/

[debug] System config: []
[debug] User config: [u'--download-archive', u'~/.ytdlarchive', u'--retries', u'100', u'--no-overwrites', u'--call-home', u'--continue', u'--write-info-json', u'--write-description', u'--write-thumbnail', u'--write-annotations', u'--all-subs', u'--sub-format', u'srt', u'--convert-subs', u'srt', u'--write-sub', u'--add-metadata', u'-f', u'bestvideo+bestaudio/best', u'--merge-output-format', u'mkv', u'--prefer-ffmpeg', u'--embed-thumbnail']
[debug] Command-line args: [u'-v', u'https://www.periscope.tv/FetishDollEmily/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.11+ - Linux-4.4.0-21-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2
[debug] Proxy map: {}
[debug] Public IP address: [REDACTED]
[generic] FetishDollEmily: Requesting header
WARNING: Falling back on generic information extractor.
[generic] FetishDollEmily: Downloading webpage
[generic] FetishDollEmily: Extracting information
ERROR: Unsupported URL: https://www.periscope.tv/FetishDollEmily/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1393, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 279, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 268, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: mismatched tag: line 1, column 11173
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 673, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 2063, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.periscope.tv/FetishDollEmily/
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 5, 2016

@Vrihub
Copy link
Contributor

@Vrihub Vrihub commented May 5, 2016

I can confirm the issue / feature-request.
It would be nice if youtube-dl https://periscope.tv/USERNAME would download all videos available for replay on the page. The only problem I see is what to do if there's a live broadcast too: maybe it should download the live broadcast and then the older videos replays, with an option to skip the live broadcast and only download the replays (in case the user is only interested in those).

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 5, 2016

@Vrihub Do you have an example?

@vxbinaca
Copy link
Contributor Author

@vxbinaca vxbinaca commented May 5, 2016

@yan12125 Apologies, I was afraid this would happen. The nature of Periscope is they stay up for about 24 hours. I'd need to find a very active account to test against. After that it's simply a matter of doing the regex and editing the module for Periscope.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 5, 2016

Does Periscope provide a list of users with videos in last 24 hrs?

@vxbinaca
Copy link
Contributor Author

@vxbinaca vxbinaca commented May 5, 2016

@yan12125 "@jimmyfallon" on Periscope appears to be popular. Perhaps wait for him to make a broadcast? I'm trying to find someone with videos.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 5, 2016

Take https://www.periscope.tv/LularoeHusbandMike for example, there are 5 videos. Is it your expectation?

@vxbinaca
Copy link
Contributor Author

@vxbinaca vxbinaca commented May 5, 2016

@yan12125 yes

@yan12125 yan12125 closed this in 6f59aa9 May 5, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 5, 2016

Thanks for all the information. Periscope user pages will be recognized in the next version.

@Vrihub
Copy link
Contributor

@Vrihub Vrihub commented May 13, 2016

Great feature, thanks!!!
Oh, and by the way, if there is a live broadcast going on and you are only interested in replays, remember you can skip downloading the live broadcast with: youtube-dl --playlist-start 2

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.