bugLinterna Mágica - Bugs: bug #34891, Some YouTube links do not load

 
 

bug #34891: Some YouTube links do not load

Submitted by:  Ivaylo Valkov <valkov>
Submitted on:  Thu 24 Nov 2011 04:29:52 PM UTC  
 
Category: Previously working website does not anymoreSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ivaylo Valkov <valkov>
Open/Closed: ClosedRelease: git-master

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Nov 2011 01:15:49 PM UTC, comment #3:

Seems stable enough. I'm think it is fixed.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sat 26 Nov 2011 11:44:01 AM UTC, comment #2:

Backported to 0.0.10 (0.0.10-2) in revision 219.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Fri 25 Nov 2011 12:11:27 PM UTC, comment #1:

Should be fixed in revision 212.

The new links added by YT were not following previous "rules" and ordering of parameters. This caused the failure of regular expression matching and splitting.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Thu 24 Nov 2011 04:29:52 PM UTC, original submission:

Some YouTube clips do not load. The reason is unknown.

Sometimes there is a syntax error at line 135 in file src/lm_site_youtube.js (revision 210):

link.url = fmt_url_map[fmt_id].replace(/\\u0026/g,"&");

The syntax error is about the fragment "fmt_url_map[fmt_id]".

Debug log shows that after links are extracted LM just stops.

(4) LinternaMagica.sites.__no_flash_plugin_installed: (4) Examining scripts. at http://www.youtube.com time: 18:26:39:215

(4) LinternaMagica.extract_video_id: (4) No video_id found. at http://www.youtube.com time: 18:26:39:221

(4) LinternaMagica.extract_video_id: (4) No video_id found. at http://www.youtube.com time: 18:26:39:221

(4) LinternaMagica.extract_video_id: (4) No video_id found. at http://www.youtube.com time: 18:26:39:222

(1) LinternaMagica.extract_video_id: (1) Extracted video id : S26xdTKeB5Y at http://www.youtube.com time: 18:26:39:225

(2) LinternaMagica.extract_object_from_script_youtube: (2) H: 390 (2) W:640 (2) embedid movie_player at http://www.youtube.com time: 18:26:39:225

(1) LinternaMagica.constructor: (1) Requesting video link via video_id S26xdTKeB5Y at http://www.youtube.com time: 18:26:39:226

(3) LinternaMagica.sites.stop_if_one_extracted_object_from_script: (3) Found one object in YouTube. Stopping script processing at http://www.youtube.com time: 18:26:39:348

(1) LinternaMagica.constructor: (1) Adding DOM event listener for inserted node. at http://www.youtube.com time: 18:26:39:349

(1) LinternaMagica.constructor: (1) Checking DOM for objects at http://www.youtube.com time: 18:26:39:350

(5) LinternaMagica.skip_object_if_id: (5) No skip_objects regular expression. Creating : /brozar[a-z0-9]+_add_scroll|flashRateObject|VideoCharts|^f[0-9]+[a-z]+|easyXDM_DISQUS_net_default[0-9]+_provider|twitterIframe/i at http://www.youtube.com time: 18:26:39:353

(5) LinternaMagica.delete_object_if_id: (5) No delete_objects regular expression. Creating : /videosync|videoad/i at http://www.youtube.com time: 18:26:39:354

(1) LinternaMagica.is_swf_object: (1) SWF DOM object found. at http://www.youtube.com time: 18:26:39:355

(2) LinternaMagica.is_swf_object: (2) SWF <embed> with id "movie_player" detected via "type". at http://www.youtube.com time: 18:26:39:356

(1) LinternaMagica.extract_objects_from_dom: (1) Checking if param flashvars is matching remote site. at http://www.youtube.com time: 18:26:39:357

(5) LinternaMagica.detect_object_in_remote_site: (5) Checking if object matches /vbox7\.com/i at http://www.youtube.com time: 18:26:39:358

(2) LinternaMagica.detect_object_in_remote_site: (2) Seems object is located at it's original site. Skipping remote site detection./youtube\.com|youtube-nocookie\.com/i at http://www.youtube.com time: 18:26:39:359

(4) LinternaMagica.sites.skip_link_extraction: (4) Skipping link extraction in YouTube. Might bloat GNU IceCat and other forks and versions of Firefox. at http://www.youtube.com time: 18:26:39:360

(4) LinternaMagica.extract_link_from_param_list: (4) Trying to extract video_id from param/attribute "flashvars" at http://www.youtube.com time: 18:26:39:360

(1) LinternaMagica.extract_video_id: (1) Extracted video id : S26xdTKeB5Y at http://www.youtube.com time: 18:26:39:363

(2) LinternaMagica.extract_objects_from_dom: (2) Object linterna_magica_id set to: 1 at http://www.youtube.com time: 18:26:39:374

(1) LinternaMagica.extract_objects_from_dom: (1) Requesting video link via video_id S26xdTKeB5Y at http://www.youtube.com time: 18:26:39:375

(1) LinternaMagica.request_video_link: (1) Video with id S26xdTKeB5Y is being processed. Skipping this request.www.youtube.com at http://www.youtube.com time: 18:26:39:375

(1) LinternaMagica.sites.process_duplicate_object_before_xhr: (1) Removing/hiding duplicate object at http://www.youtube.com time: 18:26:39:376

(1) LinternaMagica.is_swf_object: (1) SWF DOM object found. at http://www.youtube.com time: 18:26:39:376

(2) LinternaMagica.is_swf_object: (2) SWF <object> detected via "type". at http://www.youtube.com time: 18:26:39:377

(1) LinternaMagica.extract_objects_from_dom: (1) No video_id, link or remote site link found. Not creating video oject or remote video button. at http://www.youtube.com time: 18:26:39:377

(1) LinternaMagica.is_swf_object: (1) SWF DOM object found. at http://www.youtube.com time: 18:26:39:377

(2) LinternaMagica.is_swf_object: (2) SWF <iframe> detected via "forced for iframe". at http://www.youtube.com time: 18:26:39:378

(1) LinternaMagica.extract_objects_from_dom: (1) Checking if param src is matching remote site. at http://www.youtube.com time: 18:26:39:378

(5) LinternaMagica.detect_object_in_remote_site: (5) Checking if object matches /vbox7\.com/i at http://www.youtube.com time: 18:26:39:379

(2) LinternaMagica.detect_object_in_remote_site: (2) Seems object is located at it's original site. Skipping remote site detection./youtube\.com|youtube-nocookie\.com/i at http://www.youtube.com time: 18:26:39:379

(4) LinternaMagica.sites.skip_link_extraction: (4) Skipping link extraction in YouTube. Might bloat GNU IceCat and other forks and versions of Firefox. at http://www.youtube.com time: 18:26:39:379

(4) LinternaMagica.extract_link_from_param_list: (4) Trying to extract video_id from param/attribute "src" at http://www.youtube.com time: 18:26:39:380

(4) LinternaMagica.extract_video_id: (4) No video_id found. at http://www.youtube.com time: 18:26:39:380

(1) LinternaMagica.extract_objects_from_dom: (1) No video_id, link or remote site link found. Not creating video oject or remote video button. at http://www.youtube.com time: 18:26:39:381

(1) LinternaMagica.extract_objects_from_dom: (1) Skipping object number 3 with localName <iframe> at http://www.youtube.com time: 18:26:39:381

(1) LinternaMagica.extract_youtube_fmt_parameter: (1) Extracted fmt : 37/1920x1080/9/0/115,45/1280x720/99/0/0,102/1280x720/99/0/0,22/1280x720/9/0/115,84/1280x720/9/0/115,44/854x480/99/0/0,35/854x480/9/0/115,43/640x360/99/0/0,100/640x360/99/0/0,34/640x360/9/0/115,18/640x360/9/0/115,82/640x360/9/0/115,5/320x240/7/0/0 at http://www.youtube.com time: 18:26:40:534

(1) LinternaMagica.extract_youtube_fmt_url_map: (1) Extracted fmt_url_map. at http://www.youtube.com time: 18:26:40:538

(4) LinternaMagica.create_youtube_links: (4) Extracted link : http://o-o.preferred.evolink-sof1.v23.lscache8.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Cratebypass%2Ccp&fexp=907605%2C908526&itag=37&ip=77.0.0.0&signature=C234C7A67252A64FD9CEDF3C20E3DF10E686AD2A.B9082C70F20F21BCE98DBBE60D3D326D533B3F51&sver=3&ratebypass=yes&source=youtube&expire=1322175600&key=yt1&ipbits=8&cp=U0hRR1FSU19FSkNOMV9JTFdHOnBqNkVDVWliQUNn&id=4b6eb175329e0796&quality=hd1080&fallback_host=tc.v23.cache8.c.youtube.com at http://www.youtube.com time: 18:26:40:540

(4) LinternaMagica.create_youtube_links: (4) Extracted link : http://o-o.preferred.evolink-sof1.v13.lscache4.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Cratebypass%2Ccp&fexp=907605%2C908526&itag=45&ip=77.0.0.0&signature=06E3AC40983DEFFCA1D127D8124A86569E588FF6.1849BB1C7655359008FDFC4068725AF13CB2E8AD&sver=3&ratebypass=yes&source=youtube&expire=1322175600&key=yt1&ipbits=8&cp=U0hRR1FSU19FSkNOMV9JTFdHOnBqNkVDVWliQUNn&id=4b6eb175329e0796&quality=hd720&fallback_host=tc.v13.cache4.c.youtube.com at http://www.youtube.com time: 18:26:40:540

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by valkov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 29 Nov 2011 01:15:49 PM UTCvalkovStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Fri 25 Nov 2011 12:11:27 PM UTCvalkovSeverity4 - Important=>3 - Normal
      StatusConfirmed=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1